Next: Accessing Breakpoints, Previous: Setting Breakpoints, Up: Intro to Breakpoints
We have already talked above about the use of break!
,
trace!
and trace-subtree!
for setting procedural
breakpoints. Now that set-breakpoint!
has been introduced, we
can reveal that break!
, trace!
and trace-subtree!
are in fact just wrappers for set-breakpoint!
that specify
particular breakpoint behaviours, respectively debug-here
,
trace-here
and trace-subtree
.
(break! . args) == (set-breakpoint! debug-here . args) (trace! . args) == (set-breakpoint! trace-here . args) (trace-subtree! . args) == (set-breakpoint! trace-subtree . args)
This means that these three procedures can be used to set the
corresponding behaviours for any type of breakpoint for which a
set-breakpoint!
method exists, not just procedural ones.