diff options
author | Eike Ziller <eike.ziller@qt.io> | 2022-11-21 08:57:14 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2022-11-21 08:57:14 +0100 |
commit | ea79027e20e1ec77d7d3aa26cc5b3035889477c7 (patch) | |
tree | e7fff7cb4792f21f76883def4b4c235227a265ac /src/plugins/debugger/qml/qmlengine.cpp | |
parent | cae1936da3ed1c3f1cd8beda138c9fd7fd20d2de (diff) | |
parent | 61fcdcb4a150ec08968d935be2dc6c2009b7dd8a (diff) | |
download | qt-creator-ea79027e20e1ec77d7d3aa26cc5b3035889477c7.tar.gz |
Merge remote-tracking branch 'origin/9.0'
Change-Id: Idd9c2b1bf787040b7b415b7cda29035227ca1011
Diffstat (limited to 'src/plugins/debugger/qml/qmlengine.cpp')
-rw-r--r-- | src/plugins/debugger/qml/qmlengine.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index e6d3fd2054..9fee60a9d0 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -1832,11 +1832,13 @@ void QmlEnginePrivate::messageReceived(const QByteArray &data) QList<Breakpoint> 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) { |