mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
HackStudio+LibDebug: Support stopping a debugged process
In LibDebug this required implementing the Kill debug action, and in HackStudio this required making the toolbar's stop action stop the debugger if active.
This commit is contained in:
parent
5a31ca06db
commit
58d6781cbb
4 changed files with 24 additions and 9 deletions
|
@ -352,7 +352,8 @@ void DebugSession::run(DesiredInitialDebugeeState initial_debugee_state, Callbac
|
|||
break;
|
||||
}
|
||||
if (decision == DebugDecision::Kill) {
|
||||
VERIFY_NOT_REACHED(); // TODO: implement
|
||||
kill(m_debuggee_pid, SIGTERM);
|
||||
break;
|
||||
}
|
||||
|
||||
if (state == State::SingleStep && !did_single_step) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue