http://llvm.org/bugs/show_bug.cgi?id=16039

            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: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

Created attachment 10530
  --> http://llvm.org/bugs/attachment.cgi?id=10530&action=edit
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()
else:
  print res.GetError()


Output:

Process 9059 stopped

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to