diff options
Diffstat (limited to 'lldb/examples/python/crashlog.py')
-rwxr-xr-x | lldb/examples/python/crashlog.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py index b09c03a5..68ead43 100755 --- a/lldb/examples/python/crashlog.py +++ b/lldb/examples/python/crashlog.py @@ -1111,12 +1111,17 @@ def load_crashlog_in_scripted_process(debugger, crash_log_file, options, result) launch_info.SetProcessPluginName("ScriptedProcess") launch_info.SetScriptedProcessClassName("crashlog_scripted_process.CrashLogScriptedProcess") launch_info.SetScriptedProcessDictionary(structured_data) + launch_info.SetLaunchFlags(lldb.eLaunchFlagStopAtEntry) + error = lldb.SBError() process = target.Launch(launch_info, error) if not process or error.Fail(): raise InteractiveCrashLogException("couldn't launch Scripted Process", error) + process.GetScriptedImplementation().set_crashlog(crashlog) + process.Continue() + if not options.skip_status: @contextlib.contextmanager def synchronous(debugger): |