Next: , Previous: Debug Last Error, Up: Debugging Features


3.4.2 Intro to Breakpoints

If you are not already familiar with the concept of breakpoints, the first subsection below explains how they work are why they are useful.

Broadly speaking, Guile's breakpoint support consists of

Different breakpoint types are implemented as different classes in a GOOPS hierarchy with common base class <breakpoint>. The magic of generic functions then allows most of the manipulation functions to be generic by default but specializable (by breakpoint class) if the need arises.

Generic breakpoint support is provided by the (ice-9 debugger breakpoints) module, so you will almost always need to use this module in order to access the functionality described here:

     (use-modules (ice-9 debugger breakpoints))

You may like to add this to your .guile file.