mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
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. |
||
---|---|---|
.. | ||
DebugSession.cpp | ||
DebugSession.h | ||
main.cpp | ||
Makefile |