jimingham wrote:

I'm also not sure how you would test this.  Pretty much all the predictable 
internal breakpoints that we set get converted to different StopInfo's before 
the public stop.
At some point it would be nice to add a "testing only" library - like the SB 
API set but only available while testing.  Then you could add a 
"SetInternalBreakpoint" API and test what happened when you hit it.
Short of that, I can't see anything that would be stable.
But this is clearly the right behavior.  By the time we get to a public stop, 
if a thread's stop reason is an internal breakpoint, we don't want to either 
show that reason, or set that thread as the "currently selected thread". 

https://github.com/llvm/llvm-project/pull/135637
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to