================
@@ -739,12 +739,12 @@ bool Thread::ShouldResume(StateType resume_state) {
 
     if (need_to_resume && resume_state != eStateSuspended) {
----------------
igorkudrin wrote:

> Presumably, you could also fix this by going through ALL the threads every 
> time we stop and resetting the m_stopped_at_unexecuted_bp?

This would not work in the scenario in question because, when we stop after 
stepping over a breakpoint for thread `B`, the breakpoint is disabled by 
`ThreadPlanStepOverBreakpoint`, meaning that the suspended thread `A` would 
have no reason to set `m_stopped_at_unexecuted_bp`.

https://github.com/llvm/llvm-project/pull/174264
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to