mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:58:11 +00:00
HackStudio: Add 'pause debuggee' button
This button sends a SIGSTOP to the debugged process, which pauses it. The debuggee can be resumed with the 'continue' button.
This commit is contained in:
parent
91224d47d2
commit
47f5a3ea9a
8 changed files with 44 additions and 11 deletions
|
@ -510,4 +510,9 @@ void DebugSession::update_loaded_libs()
|
|||
});
|
||||
}
|
||||
|
||||
void DebugSession::stop_debuggee()
|
||||
{
|
||||
kill(pid(), SIGSTOP);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue