forked from qt-creator/qt-creator
QmlCppEngine: Make sure that breakpoint markers get removed
resetLocation() called by DebuggerPlugin::handle* should automatically reset the locations for stepping etc. Change-Id: I3e20f93ade7f40e1e1f33b1b48b11522b59771f8 Task-number: QTCREATORBUG-6291 Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
@@ -451,7 +451,6 @@ void QmlEngine::executeStep()
|
||||
logMessage(LogSend, "STEPINTO");
|
||||
d->m_adapter.activeDebuggerClient()->executeStep();
|
||||
}
|
||||
resetLocation();
|
||||
notifyInferiorRunRequested();
|
||||
notifyInferiorRunOk();
|
||||
}
|
||||
@@ -462,7 +461,6 @@ void QmlEngine::executeStepI()
|
||||
logMessage(LogSend, "STEPINTO");
|
||||
d->m_adapter.activeDebuggerClient()->executeStepI();
|
||||
}
|
||||
resetLocation();
|
||||
notifyInferiorRunRequested();
|
||||
notifyInferiorRunOk();
|
||||
}
|
||||
@@ -473,7 +471,6 @@ void QmlEngine::executeStepOut()
|
||||
logMessage(LogSend, "STEPOUT");
|
||||
d->m_adapter.activeDebuggerClient()->executeStepOut();
|
||||
}
|
||||
resetLocation();
|
||||
notifyInferiorRunRequested();
|
||||
notifyInferiorRunOk();
|
||||
}
|
||||
@@ -484,7 +481,6 @@ void QmlEngine::executeNext()
|
||||
logMessage(LogSend, "STEPOVER");
|
||||
d->m_adapter.activeDebuggerClient()->executeNext();
|
||||
}
|
||||
resetLocation();
|
||||
notifyInferiorRunRequested();
|
||||
notifyInferiorRunOk();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user