From c18d8773db37c9fe2e0993d4e47d196b6730d2fd Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 18 Nov 2022 13:18:16 +0100 Subject: Debugger: Fix interrupting Qml Fixes: QTCREATORBUG-28469 Change-Id: I421dd18e0aedbe6628d4817fddf271c1a2bfbeb0 Reviewed-by: hjk --- src/plugins/debugger/qml/qmlengine.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/plugins/debugger/qml/qmlengine.cpp') diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index 7064f00c0d..64c85031fa 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) { -- cgit v1.2.1