[Lldb-commits] [lldb] [lldb] Verify target stop-hooks support with scripted process (PR #91107)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Mon May 6 10:09:44 PDT 2024


================
@@ -100,6 +111,10 @@ def get_register_context(self) -> str:
 
 def __lldb_init_module(debugger, dict):
     if not "SKIP_SCRIPTED_PROCESS_LAUNCH" in os.environ:
+        debugger.HandleCommand(
----------------
medismailben wrote:

I added this for when loading the file it by hand when debugging, so I don't have to type the command every time I load it in an interactive debug session. As you can see it only takes this path when `SKIP_SCRIPTED_PROCESS_LAUNCH` is set, which is not the case in the test.

https://github.com/llvm/llvm-project/pull/91107


More information about the lldb-commits mailing list