forked from qt-creator/qt-creator
Debugger: Fix handling of stepping while debugging QML/JS
Amends 3341fa827f.
Fixes: QTCREATORBUG-27728
Change-Id: I96398d3ebaa33b10ec90cce4df9e9af809cd29a9
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1855,8 +1855,9 @@ void QmlEnginePrivate::messageReceived(const QByteArray &data)
|
||||
QList<Breakpoint> v8Breakpoints;
|
||||
|
||||
const QVariantList v8BreakpointIdList = breakData.value("breakpoints").toList();
|
||||
// skip debug break if no breakpoint - likely stopped in another file with same naming
|
||||
if (v8BreakpointIdList.isEmpty()) {
|
||||
// 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user