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.

debug

debug

type: defined function (closure) 
location: extension
source file: init.lsp
Common LISP compatible: no
supported on: all machines

SYNTAX

(debug)

DESCRIPTION

The DEBUG function sets *BREAKENABLE* to T. This has the effect of turning on the break loop for errors. DEBUG always returns T. The default is DEBUG enabled.

EXAMPLES

(debug)                                 ; returns T
(+ 1 "a")                               ; error: bad argument type
                                        ; enters break-loop
(clean-up)                              ; from within the break-loop
(nodebug)                               ; returns NIL
(+ 1 "a")                               ; error: bad argument type
                                        ; but doesn't enter break-loop

NOTE: The functions DEBUG and NODEBUG are created in the INIT.LSP file. If they do not exist in your XLISP system, you might be having a problem with INIT.LSP. Before you start XLISP, look in the directory you are currently in, and check to see if there is an INIT.LSP.


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