forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
ead66987d4
commit
43cc499409
@@ -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()
|
||||||
|
Reference in New Issue
Block a user