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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to