Next: Trace, Previous: Debug, Up: Session Support [Contents][Index]
If your Scheme implementation does not support break
or
abort
, a message will appear when you (require 'break)
or
(require 'debug)
telling you to type (init-debug)
. This
is in order to establish a top-level continuation. Typing
(init-debug)
at top level sets up a continuation for
break
.
Returns from the top level continuation and pushes the continuation from which it was called on a continuation stack.
Pops the topmost continuation off of the continuation stack and returns an unspecified value to it.
Pops the topmost continuation off of the continuation stack and returns arg1 … to it.
Redefines the top-level named procedures given as arguments so that
breakpoint
is called before calling proc1 ….
With no arguments, makes sure that all the currently broken identifiers are broken (even if those identifiers have been redefined) and returns a list of the broken identifiers.
Turns breakpoints off for its arguments.
With no arguments, unbreaks all currently broken identifiers and returns a list of these formerly broken identifiers.
These are procedures for breaking. If defmacros are not natively supported by your implementation, these might be more convenient to use.
To break, type
(set! symbol (breakf symbol))
or
(set! symbol (breakf symbol 'symbol))
or
(define symbol (breakf function))
or
(define symbol (breakf function 'symbol))
To unbreak, type
(set! symbol (unbreakf symbol))
Next: Trace, Previous: Debug, Up: Session Support [Contents][Index]