mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 19:36:11 +00:00
Use events to notify the user about the debugee's death
This commit is contained in:
parent
3be0472837
commit
f5cd754a0d
@ -3121,6 +3121,13 @@ void CutterCore::handleREvent(int type, void *data)
|
|||||||
emit classAttrsChanged(QString::fromUtf8(ev->attr.class_name));
|
emit classAttrsChanged(QString::fromUtf8(ev->attr.class_name));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case R_EVENT_DEBUG_PROCESS_FINISHED: {
|
||||||
|
auto ev = reinterpret_cast<REventDebugProcessFinished*>(data);
|
||||||
|
QMessageBox msgBox;
|
||||||
|
msgBox.setText(tr("Debugged process exited (") + QString::number(ev->pid) + ")");
|
||||||
|
msgBox.exec();
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user