mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibDebug: Add ability to detach from debuggee
This commit is contained in:
@@ -266,4 +266,12 @@ void* DebugSession::single_step()
|
||||
return (void*)regs.eip;
|
||||
}
|
||||
|
||||
void DebugSession::detach()
|
||||
{
|
||||
for (auto& breakpoint : m_breakpoints.keys()) {
|
||||
remove_breakpoint(breakpoint);
|
||||
}
|
||||
continue_debugee();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user