kendalharland wrote:

> The thread that you care about is stopped at a breakpoint, right? If so, then 
> you can use the lldbutil.get_threads_stopped_at_breakpoint utility to find 
> it...

Thanks, this eventually led to me what I think is the most obvious solution: We 
can just set the breakpoints in this test while holding onto to the 
`SBBreakpoint` objects, and then fetch the associated thread from those 
breakpoints later, and compare the thread's frames' currently line numbers.

Thanks @JDevlieghere and @bulbazord for the additional suggestions!

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

Reply via email to