Commit 43cc4994 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

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: default avatarhjk <hjk@qt.io>
parent ead66987
...@@ -186,6 +186,7 @@ void GdbTermEngine::interruptInferior2() ...@@ -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()
......
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