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:
Itamar 2023-02-19 22:52:52 +02:00 committed by Andreas Kling
commit 47f5a3ea9a
Notes: sideshowbarker 2024-07-17 04:32:07 +09:00
8 changed files with 44 additions and 11 deletions

View file

@ -510,4 +510,9 @@ void DebugSession::update_loaded_libs()
});
}
void DebugSession::stop_debuggee()
{
kill(pid(), SIGSTOP);
}
}