Debugger: Add comment for revert

Amends 2364448f91.

Change-Id: I1b34c7b69c0817460d20c8ea892bdc54d7658e4a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2024-06-28 09:12:09 +02:00
parent 66853bacf7
commit 37a061aabc

View File

@@ -675,6 +675,8 @@ void GdbEngine::interruptInferior()
} else {
showStatusMessage(Tr::tr("Stop requested..."), 5000);
showMessage("TRYING TO INTERRUPT INFERIOR");
// Ctrl+C events are only handled properly for console applications on Windows
// when gdb debugs a GUI application the CTRL+C events are not handled
if (HostOsInfo::isWindowsHost() && !m_isQnxGdb) {
IDevice::ConstPtr dev = device();
QTC_ASSERT(dev, notifyInferiorStopFailed(); return);