diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp index 8a2417e9da326..0e93691de68af 100644 --- a/lldb/source/Target/ThreadPlanStepInRange.cpp +++ b/lldb/source/Target/ThreadPlanStepInRange.cpp @@ -370,7 +370,7 @@ bool ThreadPlanStepInRange::DefaultShouldStopHereCallback( if (!should_stop_here) return false; - if (should_stop_here && current_plan->GetKind() == eKindStepInRange && + if (current_plan->GetKind() == eKindStepInRange && operation == eFrameCompareYounger) { ThreadPlanStepInRange *step_in_range_plan = static_cast(current_plan);