Skip to content

bpoint ¤

Classes:

  • Breakpoint

    Breakpoint class, similar to gdb.Breakpoint, but clears the caches

Breakpoint ¤

Bases: Breakpoint

Breakpoint class, similar to gdb.Breakpoint, but clears the caches associated with the stop event before determining whether it should stop the inferior or not.

Unlike gdb.Breakpoint, users of this class should override should_stop(), instead of stop(), as the latter is used to do cache invalidation.

Methods:

  • stop
  • should_stop

    This function is called whenever this breakpoint is hit in the code and

stop ¤

stop() -> bool

should_stop ¤

should_stop() -> bool

This function is called whenever this breakpoint is hit in the code and its return value determines whether the inferior will be stopped.