diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 7064f00c0d3..64c85031fa4 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -1833,11 +1833,13 @@ void QmlEnginePrivate::messageReceived(const QByteArray &data) QList v8Breakpoints; const QVariantList v8BreakpointIdList = breakData.value("breakpoints").toList(); - // skip debug break if no breakpoint and we have not done a single step as last - // action - likely stopped in another file with same naming - if (v8BreakpointIdList.isEmpty() && previousStepAction == Continue) { - inferiorStop = false; - continueDebugging(Continue); + if (engine->state() != InferiorStopRequested) { + // skip debug break if no breakpoint and we have not done a single step as + // last action - likely stopped in another file with same naming + if (v8BreakpointIdList.isEmpty() && previousStepAction == Continue) { + inferiorStop = false; + continueDebugging(Continue); + } } for (const QVariant &breakpointId : v8BreakpointIdList) {