Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

*breakenable*

*breakenable*

type: system variable
location: built-in
source file: xldbug.c
Common LISP compatible: no
supported on: all machines

SYNTAX

*breakenable*

DESCRIPTION

*BREAKENABLE* is a system variable that controls entry to the break loop and the trapping of errors. If *BREAKENABLE* is set to NIL, then no errors from the system, ERROR and CERROR will be trapped. If *BREAKENABLE* is non-NIL, the break loop will handle these errors. The BREAK function is not affected by *BREAKENABLE* and will always force entry to the break loop. The INIT.LSP initialization file sets *BREAKENABLE* to T, which allows errors to be trapped by the break loop.

The DEBUG function causes *BREAKENABLE* to be set to T. NODEBUG causes *BREAKENABLE* to be set to NIL.

EXAMPLES

(setq *breakenable* NIL)                ; disable break loop
(defun foo (x) (+ x x))                 ; define FOO
(foo "a")                               ; error: bad argument type 
                                        ;   but did NOT enter break loop
(setq *breakenable* T)                  ; enable break loop
(foo "a")                               ; error: bad argument type 
                                        ;   entered break loop


Go to the first, previous, next, last section, table of contents.