diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp
index 32f6d3ceb0ecb929c7b532cc9543a3797c6e573d..fcb8fc788ec337c34c20ae4520831cb2d9090b87 100644
--- a/src/plugins/debugger/debuggerrunner.cpp
+++ b/src/plugins/debugger/debuggerrunner.cpp
@@ -747,6 +747,7 @@ DEBUGGER_EXPORT ConfigurationCheck checkDebugConfiguration(const DebuggerStartPa
     QList<DebuggerEngineType> unavailableTypes;
     foreach (DebuggerEngineType et, requiredTypes) {
         if (canUseEngine(et, sp, cmdLineEnabledEngines, &result)) {
+            result.errorDetails.clear();
             usableType = et;
             break;
         } else {