[Lldb-commits] [lldb] [lldb] Setup session when calling Python interfaces (PR #197966)
via lldb-commits
lldb-commits at lists.llvm.org
Tue May 19 06:38:19 PDT 2026
================
@@ -650,7 +657,7 @@ bool ScriptInterpreterPythonImpl::EnterSession(uint16_t on_entry_flags,
run_string.PutCString("; lldb.thread = lldb.process.GetSelectedThread ()");
run_string.PutCString("; lldb.frame = lldb.thread.GetSelectedFrame ()");
run_string.PutCString("')");
- } else {
+ } else if (on_entry_flags & Locker::InitDebugger) {
// If we aren't initing the globals, we should still always set the
----------------
Nerixyz wrote:
I updated the comment to reflect https://github.com/llvm/llvm-project/pull/197966#issuecomment-4467548762.
https://github.com/llvm/llvm-project/pull/197966
More information about the lldb-commits
mailing list