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,11 +1833,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) {
|
||||
|
Reference in New Issue
Block a user