[Lldb-commits] [lldb] Fix flake in TestZerothFrame.py (PR #96685)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 28 00:19:40 PDT 2024


https://github.com/labath approved this pull request.

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.

https://github.com/llvm/llvm-project/pull/96685


More information about the lldb-commits mailing list