Debugger: Terminate gracefully when the debuggee is invalid

To reproduce, try to debug an empty exe file as a terminal app on
Windows.

Change-Id: Ie47848be04b8f7d4a8dae485d938a71febfed1ab
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Orgad Shaneh
2017-04-04 17:20:23 +03:00
committed by Orgad Shaneh
parent ead66987d4
commit 43cc499409

View File

@@ -186,6 +186,7 @@ void GdbTermEngine::interruptInferior2()
void GdbTermEngine::stubError(const QString &msg) void GdbTermEngine::stubError(const QString &msg)
{ {
Core::AsynchronousMessageBox::critical(tr("Debugger Error"), msg); Core::AsynchronousMessageBox::critical(tr("Debugger Error"), msg);
notifyEngineIll();
} }
void GdbTermEngine::stubExited() void GdbTermEngine::stubExited()