forked from qt-creator/qt-creator
Revert "Debugger: simplify interrupting windows processes"
Ctrl+C events are only handled properly for console applications. When gdb debugs a GUI application the CTRL+C events are not handled. This can be even reproduced with a plain gdb started from CMD. This partially reverts commit9d88da6c2b
and670b4ec729
. Fixes: QTCREATORBUG-31131 Change-Id: I11c9d9dc08b4dbe450f38e27559b130dd317b675 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -276,6 +276,11 @@ void DebuggerRunTool::setSkipExecutableValidation(bool on)
|
||||
m_runParameters.skipExecutableValidation = on;
|
||||
}
|
||||
|
||||
void DebuggerRunTool::setUseCtrlCStub(bool on)
|
||||
{
|
||||
m_runParameters.useCtrlCStub = on;
|
||||
}
|
||||
|
||||
void DebuggerRunTool::setBreakOnMain(bool on)
|
||||
{
|
||||
m_runParameters.breakOnMain = on;
|
||||
|
Reference in New Issue
Block a user