<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot use 'continue' from the python api on Linux"
   href="http://llvm.org/bugs/show_bug.cgi?id=16039">16039</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot use 'continue' from the python api on Linux
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ben.langmuir@intel.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10530" name="attach_10530" title="Python script to reproduce the bug">attachment 10530</a> <a href="attachment.cgi?id=10530&action=edit" title="Python script to reproduce the bug">[details]</a></span>
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..</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>