diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp
index 4155a9fd58fc3b7c7afbb894d58d0ca31415698a..172a9e958007b9518fd3201178fff9fe7fab809d 100644
--- a/src/plugins/debugger/qml/qmlengine.cpp
+++ b/src/plugins/debugger/qml/qmlengine.cpp
@@ -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();
 }