[llvm-branch-commits] [lldb] [lldb-dap] Support interactive multiline REPL commands via input pipe (PR #237428)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 9 14:48:38 PST 2026


jimingham wrote:

> > How will the work with the mode when two debug sessions share the same `SBDebugger` when using `startDebugging` ?
> 
> The CommandInterpreter is shared among all the Targets in a given SBDebugger. The command interpreter is also not currently useable concurrently - given the way it stores parsed option values in the CommandObject itself. So somebody at a higher layer in the DAP is going to have to serialize access to the CommandInterpreter or you'll get all sorts of odd behavior. Presumably the same mechanism can be used to lock both the initial command and the wait for user input that follows?



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


More information about the llvm-branch-commits mailing list