ladybird/Applications/Debugger
Itamar c3faaeb9b9 Debugger: Breakpoints now persist after being tripped
Previously, a breakpoint was removed after it was tripped.

After a breakpoint trips, we have to undo the 'int3' patch
from the instruction in order to continue the exceution.

To make a breakpoint persist, we switch to "single step" mode,
which stops the execution after a single instruction, and then we
insert the breakpoint at the previous instruction.

There is also some code that deals with an edge case where there are
breakpoints in two consecutive instructions.
2020-04-13 23:20:59 +02:00
..
DebugSession.cpp Debugger: Breakpoints now persist after being tripped 2020-04-13 23:20:59 +02:00
DebugSession.h Debugger: Breakpoints now persist after being tripped 2020-04-13 23:20:59 +02:00
main.cpp Debugger: Print where we're stopped at 2020-04-13 23:20:59 +02:00
Makefile Debugger: Add DebugSession 2020-04-13 00:53:22 +02:00