mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +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
Notes:
sideshowbarker
2024-07-17 04:32:07 +09:00
Author: https://github.com/itamar8910
Commit: 47f5a3ea9a
Pull-request: https://github.com/SerenityOS/serenity/pull/17544
8 changed files with 44 additions and 11 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue