forked from qt-creator/qt-creator
Debugger: Fix interrupting Qml
Fixes: QTCREATORBUG-28469 Change-Id: I421dd18e0aedbe6628d4817fddf271c1a2bfbeb0 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1833,12 +1833,14 @@ void QmlEnginePrivate::messageReceived(const QByteArray &data)
|
|||||||
QList<Breakpoint> v8Breakpoints;
|
QList<Breakpoint> v8Breakpoints;
|
||||||
|
|
||||||
const QVariantList v8BreakpointIdList = breakData.value("breakpoints").toList();
|
const QVariantList v8BreakpointIdList = breakData.value("breakpoints").toList();
|
||||||
// skip debug break if no breakpoint and we have not done a single step as last
|
if (engine->state() != InferiorStopRequested) {
|
||||||
// action - likely stopped in another file with same naming
|
// 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) {
|
if (v8BreakpointIdList.isEmpty() && previousStepAction == Continue) {
|
||||||
inferiorStop = false;
|
inferiorStop = false;
|
||||||
continueDebugging(Continue);
|
continueDebugging(Continue);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (const QVariant &breakpointId : v8BreakpointIdList) {
|
for (const QVariant &breakpointId : v8BreakpointIdList) {
|
||||||
const QString responseId = QString::number(breakpointId.toInt());
|
const QString responseId = QString::number(breakpointId.toInt());
|
||||||
|
Reference in New Issue
Block a user