[Bug 16039] New: Cannot use 'continue' from the python api on Linux

Bug ID 16039
Summary Cannot use ‘continue’ from the python api on Linux
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter ben.langmuir@intel.com
Classification Unclassified

Created attachment 10530 [details]
Python script to reproduce the bug

Trying to continue from the python api erroneously fails saying the process is
still running.  This is true with the command interpreter, and using
Process.Continue().  To reproduce, compile test.c with -g and save as a.out,
then run the python script.

interp.HandleCommand('b main', res)
interp.HandleCommand('run', res)
interp.HandleCommand('process status', res)
print res.GetOutput()
interp.HandleCommand('continue', res)
if res.Succeeded():
  print res.GetOutput()
  print res.GetError()


Process 9059 stopped

error: Failed to resume process: Resume request failed - process still

Daniel Malea changed bug 16039

What | Removed | Added |

Comment # 3 on bug 16039 from Daniel Malea

Closing this bug as it can be addressed by setting the command interpreter to
synchronous mode.