1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:07:44 +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:
Itamar 2023-02-19 22:52:52 +02:00 committed by Andreas Kling
parent 91224d47d2
commit 47f5a3ea9a
8 changed files with 44 additions and 11 deletions

View file

@ -314,5 +314,9 @@ void Debugger::set_requested_debugger_action(DebuggerAction action)
pthread_cond_signal(continue_cond());
pthread_mutex_unlock(continue_mutex());
}
void Debugger::stop_debuggee()
{
return m_debug_session->stop_debuggee();
}
}