LLDB-DAP: Fix assert messages

Amends 0cb8760338

The assert messages look like this:
```
Debugger::Internal::DebuggerEngine(0x3170607a0, name = "LldbDapEngine")
"EngineRunRequested"
SOFT ASSERT [09:46:50.984]: "state() == EngineRunRequested" in /Users/
cristian/Projects/QtCreator/repo/src/plugins/debugger/dap/dapengine.cpp:
205
SOFT ASSERT [09:46:51.313]: "state() == EngineRunRequested" in /Users/
cristian/Projects/QtCreator/repo/src/plugins/debugger/
debuggerengine.cpp:1300
Debugger::Internal::DebuggerEngine(0x3170607a0, name = "LldbDapEngine")
"InferiorRunOk"
```

Change-Id: Iceb7350c1997c9ce5d07818aff7a1f39c2abe271
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
This commit is contained in:
Cristian Adam
2024-06-17 09:49:18 +02:00
parent e8a85f9974
commit 29ce8fa009
2 changed files with 1 additions and 4 deletions

View File

@@ -692,9 +692,6 @@ void DapEngine::handleResponse(DapResponseType type, const QJsonObject &response
case DapResponseType::SetBreakpoints:
handleBreakpointResponse(response);
break;
case DapResponseType::Attach:
notifyInferiorRunOk();
break;
default:
showMessage("UNKNOWN RESPONSE:" + command);
};

View File

@@ -193,7 +193,7 @@ void LldbDapEngine::handleDapConfigurationDone()
return;
}
notifyEngineRunAndInferiorStopOk();
notifyEngineRunAndInferiorRunOk();
}
void LldbDapEngine::setupEngine()