Commit 5e29374f authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

ignore inferiorStartFailed after adapterCrashed

technically, it would be cleaner to handle that in the adapters,
but it is a lot of duplicated code without any gain.
parent 7713fc51
......@@ -4305,6 +4305,8 @@ void GdbEngine::startInferiorPhase2()
void GdbEngine::handleInferiorStartFailed(const QString &msg)
{
if (state() == AdapterStartFailed)
return; // Adapter crashed meanwhile, so this notification is meaningless.
debugMessage(_("INFERIOR START FAILED"));
showMessageBox(QMessageBox::Critical, tr("Inferior start failed"), msg);
setState(InferiorStartFailed);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment