diff options
Diffstat (limited to 'lldb/examples/python/process_events.py')
-rwxr-xr-x | lldb/examples/python/process_events.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/examples/python/process_events.py b/lldb/examples/python/process_events.py index ab1cff725e1..7978c33f166 100755 --- a/lldb/examples/python/process_events.py +++ b/lldb/examples/python/process_events.py @@ -184,6 +184,7 @@ def main(argv): event = lldb.SBEvent() if listener.WaitForEvent (options.event_timeout, event): state = lldb.SBProcess.GetStateFromEvent (event) + print "event %s" % (lldb.SBDebugger.StateAsCString(state)) if state == lldb.eStateStopped: if stop_idx == 0: if launch_info: @@ -203,6 +204,7 @@ def main(argv): run_commands (command_interpreter, options.stop_commands) stop_idx += 1 print_threads (process, options) + print "continuing process %u" % (pid) process.Continue() elif state == lldb.eStateExited: exit_desc = process.GetExitDescription() |