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.

*tracenable*

*tracenable*

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

SYNTAX

*tracenable*

DESCRIPTION

*TRACENABLE* is a system variable that controls whether or not the break loop prints any back trace information on entry to the break loop. If *TRACENABLE* is NIL, then there will be no information printed on entry to the break loop. If *TRACENABLE* is non-NIL, then information will be printed. The INIT.LSP initialization file sets *TRACENABLE* to NIL, which suppresses the printing.

EXAMPLES

(defun foo (x) (fee x))                 ; define FOO
(defun fee (y) (break))                 ; define FEE
(setq *tracenable* T)                   ; enable the back trace
(setq *tracelimit* NIL)                 ; show all the entries
(foo 5)                                 ; break: **BREAK**
                                        ; prints  Function:.....BREAK..
                                        ;         Function:.....FEE....
                                        ;         Arguments:
                                        ;           5
                                        ;         Function:.....FOO....
                                        ;         Arguments:
                                        ;           5
(clean-up)                              ; from break loop
(setq *tracelimit* 2)                   ; show only 2 entries
(foo 5)                                 ; break: **BREAK**
                                        ; prints  Function:.....BREAK..
                                        ;         Function:.....FEE....
                                        ;         Arguments:
                                        ;           5
(clean-up)                              ; from break loop

NOTE: *TRACENABLE* and *TRACELIMIT* have to do with back trace information at entry to a break loop and have nothing to do with TRACE and UNTRACE.


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