News for hackers. Stuff that matters.
Re:Writing a Debugger from Scratch: Breakpoints by timmisiak on Wednesday September 27, 2023 @11:18AM (#37675899)
Yes, software breakpoints are difficult to get correct (the main reason why I started with hardware breakpoints). It gets more complicated with kernel debugging, where a single step (trap flag) could get pre-empted by an interrupt handler. And you can't always single-step a CPU and leave all other CPUs frozen.

There are no comments on this comment yet.