[Lldb-commits] [lldb] New ThreadPlanSingleThreadTimeout to resolve potential deadlock in single thread stepping (PR #90930)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 8 15:03:08 PDT 2024


jeffreytan81 wrote:

> Why does the ThreadPlanSingleThreadTimeout have to claim to explain stops (like a random breakpoint hit) that on the face of it it's not responsible for

We are doing so to ensure `ThreadPlanSingleThreadTimeout` can stay in the leaf thread plan. And it comes from your suggestion `So ThreadPlanSingleThreadTimeout should always say it explains the stop` in this comment:
https://discourse.llvm.org/t/improve-single-thread-stepping/74599/17?u=jeffreytan81

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


More information about the lldb-commits mailing list