
This reverts commit f775fe59640a2e837ad059a8f40e26989d4f9831. I fixed a return type error in the original patch that was causing a test failure. Also added a REQUIRES: python to the shell test so we'll skip this for people who build lldb w/o Python. Also added another test for the error printing.
11 lines
257 B
Python
11 lines
257 B
Python
import lldb
|
|
|
|
class stop_handler:
|
|
def __init__(self, target, extra_args, dict):
|
|
self.extra_args = extra_args
|
|
self.target = target
|
|
|
|
def handle_stop(self, exe_ctx, stream):
|
|
stream.Print("I did indeed run\n")
|
|
return True
|