If you found a step through plan stop looking up the stack for a step out plan.

llvm-svn: 214837
This commit is contained in:
Jim Ingham
2014-08-05 01:59:20 +00:00
parent cca8995ab2
commit 5beccb22bc

View File

@@ -185,6 +185,9 @@ ThreadPlanStepOverRange::ShouldStop (Event *event_ptr)
else
{
new_plan_sp = m_thread.QueueThreadPlanForStepThrough (m_stack_id, false, stop_others);
// If we found a way through, then we should stop recursing.
if (new_plan_sp)
break;
}
}
}