Next: , Previous: break! trace! trace-subtree!, Up: Intro to Breakpoints


3.4.2.6 Accessing Breakpoints

Information about the state and behaviour of a breakpoint is stored in an instance of the appropriate breakpoint class. To access and change that information, therefore, you need to get hold of the desired breakpoint instance.

The generic function get-breakpoint meets this need: For every set-breakpoint! method there is a corresponding get-breakpoint method. Note especially the useful type-independent case:

     (get-breakpoint 1)
     =>
     #<<procedure-breakpoint> 808b0b0>