diff options
-rw-r--r-- | lldb/source/Target/ThreadPlanStepOverRange.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanStepOverRange.cpp b/lldb/source/Target/ThreadPlanStepOverRange.cpp index 0e1498dc923..8363183a420 100644 --- a/lldb/source/Target/ThreadPlanStepOverRange.cpp +++ b/lldb/source/Target/ThreadPlanStepOverRange.cpp @@ -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; } } } |