[Lldb-commits] [lldb] [lldb-dap] Listen for broadcast classes. (PR #140142)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu May 15 23:12:29 PDT 2025


JDevlieghere wrote:

> I had thought about also including a check on the target to see if it was the `DAP.target`, but again during launch or attach commands we may not know which target we need to focus on yet.

Can we use the selected target until we've decided on the dap target? I guess that still leaves the possibility that the launch commands create multiple targets and that you temporarily see events belonging to the wrong target before another target was selected, but I'm not sure how to avoid that. Unless there's a way to queue up events? I'd need to look at the code in more detail to figure out how that works exactly (or ask @jimingham). 

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


More information about the lldb-commits mailing list