[Lldb-commits] [lldb] Fix flake in TestZerothFrame.py (PR #96685)
Kendal Harland via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 28 13:05:37 PDT 2024
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
More information about the lldb-commits
mailing list