Debugger: Avoid messagesboxes on the same topic at the same time

Task-number: QTCREATORBUG-16971
Change-Id: I625f04cbd8f609c66597450dbad22ebc6eadcfe5
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2016-12-14 09:59:49 +01:00
parent c16d350539
commit 26331f771a
3 changed files with 13 additions and 4 deletions

View File

@@ -1629,7 +1629,10 @@ void GdbEngine::handleStop2(const GdbMi &data)
} else {
showMessage("HANDLING SIGNAL " + name);
if (boolSetting(UseMessageBoxForSignals) && !isStopperThread)
showStoppedBySignalMessageBox(meaning, name);
if (!showStoppedBySignalMessageBox(meaning, name)) {
showMessage("SIGNAL RECEIVED WHILE SHOWING SIGNAL MESSAGE");
return;
}
if (!name.isEmpty() && !meaning.isEmpty())
reasontr = msgStoppedBySignal(meaning, name);
}