OSDN Git Service

QmlDebugger: update location marker while debugging
authorChristiaan Janssen <christiaan.janssen@nokia.com>
Mon, 16 May 2011 15:06:52 +0000 (17:06 +0200)
committerChristiaan Janssen <christiaan.janssen@nokia.com>
Mon, 16 May 2011 15:39:33 +0000 (17:39 +0200)
Reviewed-by: hjk
src/plugins/debugger/qml/qmlengine.cpp

index 4155a9f..172a9e9 100644 (file)
@@ -490,6 +490,7 @@ void QmlEngine::executeStep()
     rs << cmd;
     logMessage(LogSend, cmd);
     sendMessage(reply);
+    resetLocation();
     notifyInferiorRunRequested();
     notifyInferiorRunOk();
 }
@@ -502,6 +503,7 @@ void QmlEngine::executeStepI()
     rs << cmd;
     logMessage(LogSend, cmd);
     sendMessage(reply);
+    resetLocation();
     notifyInferiorRunRequested();
     notifyInferiorRunOk();
 }
@@ -514,6 +516,7 @@ void QmlEngine::executeStepOut()
     rs << cmd;
     logMessage(LogSend, cmd);
     sendMessage(reply);
+    resetLocation();
     notifyInferiorRunRequested();
     notifyInferiorRunOk();
 }
@@ -526,6 +529,7 @@ void QmlEngine::executeNext()
     rs << cmd;
     logMessage(LogSend, cmd);
     sendMessage(reply);
+    resetLocation();
     notifyInferiorRunRequested();
     notifyInferiorRunOk();
 }