mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
HackStudio: Attach debuggee to "Console" terminal tab
Previously the debuggee process used the same tty of the HackStudio process. We now set things up so the debuggee gets attached to the TerminalWrapper in the "Console" tab.
This commit is contained in:
parent
a02d8e5710
commit
1ec917aa23
3 changed files with 24 additions and 1 deletions
|
@ -60,6 +60,8 @@ public:
|
|||
void set_requested_debugger_action(DebuggerAction);
|
||||
void reset_breakpoints() { m_breakpoints.clear(); }
|
||||
|
||||
void set_child_setup_callback(Function<ErrorOr<void>()> callback) { m_child_setup_callback = move(callback); }
|
||||
|
||||
private:
|
||||
class DebuggingState {
|
||||
public:
|
||||
|
@ -119,6 +121,7 @@ private:
|
|||
Function<HasControlPassedToUser(const PtraceRegisters&)> m_on_stopped_callback;
|
||||
Function<void()> m_on_continue_callback;
|
||||
Function<void()> m_on_exit_callback;
|
||||
Function<ErrorOr<void>()> m_child_setup_callback;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue