forked from qt-creator/qt-creator
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:
@@ -692,9 +692,6 @@ void DapEngine::handleResponse(DapResponseType type, const QJsonObject &response
|
|||||||
case DapResponseType::SetBreakpoints:
|
case DapResponseType::SetBreakpoints:
|
||||||
handleBreakpointResponse(response);
|
handleBreakpointResponse(response);
|
||||||
break;
|
break;
|
||||||
case DapResponseType::Attach:
|
|
||||||
notifyInferiorRunOk();
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
showMessage("UNKNOWN RESPONSE:" + command);
|
showMessage("UNKNOWN RESPONSE:" + command);
|
||||||
};
|
};
|
||||||
|
@@ -193,7 +193,7 @@ void LldbDapEngine::handleDapConfigurationDone()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
notifyEngineRunAndInferiorStopOk();
|
notifyEngineRunAndInferiorRunOk();
|
||||||
}
|
}
|
||||||
|
|
||||||
void LldbDapEngine::setupEngine()
|
void LldbDapEngine::setupEngine()
|
||||||
|
Reference in New Issue
Block a user