This patch makes the crashlog interactive mode show the scripted process
status with the crashed scripted thread backtrace after launching it.
rdar://89634338
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Paths
| Differential D121038
[lldb/crashlog] Make interactive mode display more user-friendly ClosedPublic Authored by mib on Mar 4 2022, 6:56 PM.
Details Summary This patch makes the crashlog interactive mode show the scripted process rdar://89634338 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diff Detail Event Timelinemib added a parent revision: D120969: [lldb/Plugins] Add ability to load modules to Scripted Processes.Mar 8 2022, 3:44 PM Comment Actions LGTM. I left a comment with a suggestion for a context manager but that's up to you.
This revision is now accepted and ready to land.Mar 9 2022, 12:07 PM This revision was landed with ongoing or failed builds.Mar 10 2022, 11:07 AM Closed by commit rG8d097a6b932c: [lldb/crashlog] Make interactive mode display more user-friendly (authored by mib). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413943 lldb/examples/python/crashlog.py
lldb/test/Shell/ScriptInterpreter/Python/Crashlog/scripted_crashlog_json.test
|
This is the perfect pattern for a context manager:
and then you can do: