debugger: be a bit more verbose in the log on process interruption

This commit is contained in:
hjk
2010-12-20 14:47:29 +01:00
parent bbba0f58a9
commit a73e1f7596

View File

@@ -164,7 +164,9 @@ void LocalPlainGdbAdapter::interruptInferior()
return;
}
if (!interruptProcess(attachedPID)) {
if (interruptProcess(attachedPID)) {
showMessage(_("INTERRUPTED %1").arg(attachedPID));
} else {
showMessage(_("CANNOT INTERRUPT %1").arg(attachedPID));
m_engine->notifyInferiorStopFailed();
}