[Lldb-commits] [lldb] Disable ThreadPlanSingleThreadTimeout during step over breakpoint (PR #104532)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 16 00:43:31 PDT 2024


labath wrote:

Thanks for looking into this. I'll also defer to Jim, but I'll note two things:
- stepping over a breakpoint can still block -- if the breakpoint is on a syscall instruction, and the syscall blocks. However, problem with missed breakpoints is also real, and probably more important than blocked steps. As I don't see a way to resume other threads while not risking them missing breakpoints, this may still be the right thing to do.
- I was amused by the hedging in "potential race condition". The race is real, not potential. The fact that you win the race most of the time doesn't mean it doesn't exist. :P

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


More information about the lldb-commits mailing list