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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 16 14:23:18 PDT 2013


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: lldb-dev at cs.uiuc.edu
          Reporter: ben.langmuir at intel.com
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130516/f71a822b/attachment.html>


More information about the lldb-dev mailing list