forked from qt-creator/qt-creator
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user