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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to