We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ca29c commit 7507011Copy full SHA for 7507011
lldb/source/Target/ThreadPlanStepOut.cpp
@@ -398,8 +398,11 @@ bool ThreadPlanStepOut::ShouldStop(Event *event_ptr) {
398
}
399
400
if (!done) {
401
- StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID();
402
- done = !IsYounger(frame_zero_id, m_step_out_to_id);
+ StopInfoSP stop_info_sp = GetPrivateStopInfo();
+ if (stop_info_sp && stop_info_sp->GetStopReason() == eStopReasonBreakpoint) {
403
+ StackID frame_zero_id = GetThread().GetStackFrameAtIndex(0)->GetStackID();
404
+ done = !IsYounger(frame_zero_id, m_step_out_to_id);
405
+ }
406
407
408
// The normal step out computations think we are done, so all we need to do
0 commit comments