File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -407,6 +407,14 @@ bool ThreadPlanStepOut::ShouldStop(Event *event_ptr) {
407
407
} else {
408
408
m_step_out_further_plan_sp =
409
409
QueueStepOutFromHerePlan (m_flags, eFrameCompareOlder, m_status);
410
+ // I have a few reports of getting here and not being able to
411
+ // actually generate a step out from here plan. That shouldn't happen
412
+ // because the ShouldStopHere callback shouldn't return true if it
413
+ // can't make a step out plan. So far I don't know how that can
414
+ // happen, but it's better to just stop here than to crash.
415
+ if (!m_step_out_further_plan_sp)
416
+ return true ;
417
+
410
418
if (m_step_out_further_plan_sp->GetKind () == eKindStepOut)
411
419
{
412
420
// If we are planning to step out further, then the frame we are going
You can’t perform that action at this time.
0 commit comments