[Lldb-commits] [lldb] [lldb] Add `scripting extension instances` command (PR #226043)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 25 11:59:17 PDT 2026


================
@@ -2672,6 +2672,21 @@ bool ScriptInterpreterPythonImpl::LoadScriptingModule(
   if (error.Fail())
     return false;
 
+  // __lldb_init_module may instantiate extensions from the module, so the
----------------
JDevlieghere wrote:

What happens when the user types `import foo` in the `script` REPL (i.e. not `command script import foo`). If you then do `breakpoint set -P foo.MyClass`, what does `GetImportedModulePath("foo")` returns?

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


More information about the lldb-commits mailing list