Next: , Previous: Deleting Breakpoints, Up: Intro to Breakpoints


3.4.2.10 Breakpoint Information

To get Guile to print a description of a breakpoint instance, use bp-describe:

     (bp-describe (get-breakpoint 1) #t)   ; #t specifies standard output
     -|
     Breakpoint 1: [fact1]
             enabled? = #t
             behaviour = #<procedure trace-here ()>

Following the usual model, describe-breakpoint is also provided:

     (describe-breakpoint 1)
     -|
     Breakpoint 1: [fact1]
             enabled? = #t
             behaviour = #<procedure trace-here ()>

Finally, two stragglers. all-breakpoints returns a list of all current breakpoints. describe-all-breakpoints combines bp-describe and all-breakpoints by printing a description of all current breakpoints to standard output.