[Lldb-commits] [PATCH] D93926: [lldb] Don't remove the lldb.debugger var after exiting the interpreter

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 6 05:27:07 PST 2021


labath added a comment.

In D93926#2479749 <https://reviews.llvm.org/D93926#2479749>, @JDevlieghere wrote:

> Your argument is correct because the interactive script interpreter always belongs to a single debugger.

I'm not sure that even this is true (for python, anyway). IIUC all SBDebuggers share the same python interpreter (because python does not allow the creation of completely independent python contexts). We do some trickery to make it it appear as if these were independent, but I am not sure the trickery extends to the `lldb` module...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93926/new/

https://reviews.llvm.org/D93926



More information about the lldb-commits mailing list