kendalharland wrote:

> This should be fine, although looking at the test case again, I think that 
> even simply replacing process.GetThreadAtIndex(0) with self.thread() should 
> be enough. self.thread() returns the "selected" thread and lldb should always 
> be selecting the thread which has stopped "for a reason" (e.g. a breakpoint) 
> and not a random (or first) thread in the process.

This also works. Agreed it's much better. Ty for the suggestion! Updated.

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