diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp
index 1f75ea4f33671769a57892a0d4a2e117f5df4323..fc296df742146e2856013267b788457822a00e22 100644
--- a/src/plugins/debugger/debuggerengine.cpp
+++ b/src/plugins/debugger/debuggerengine.cpp
@@ -681,7 +681,7 @@ void DebuggerEngine::showMessage(const QString &msg, int channel, int timeout) c
 
 void DebuggerEngine::startDebugger(DebuggerRunControl *runControl)
 {
-     if (!isSessionEngine()) {
+    if (!isSessionEngine()) {
         d->m_progress.setProgressRange(0, 100);
         Core::FutureProgress *fp = Core::ICore::instance()->progressManager()
             ->addTask(d->m_progress.future(),
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp
index 654d7071d78880cb8d1cc9c62ecc01397e8ccf4d..e4550c6f2e13c993f3883f7b7990350deaa995d6 100644
--- a/src/plugins/debugger/debuggerplugin.cpp
+++ b/src/plugins/debugger/debuggerplugin.cpp
@@ -2374,7 +2374,7 @@ void DebuggerPluginPrivate::interruptDebuggingRequest()
 
 void DebuggerPluginPrivate::exitDebugger()
 {
-    // The engine will finally call setState(DebuggerNotReady) which
+    // The engine will finally call setState(DebuggerFinished) which
     // in turn will handle the cleanup.
     notifyCurrentEngine(RequestExecExitRole);
     m_codeModelSnapshot = CPlusPlus::Snapshot();