next up previous contents
Next: 3.4.2 Note On Lexical Up: 3.4 Variable Access Previous: 3.4 Variable Access

3.4.1 Variable Value Availability

       

The value of a variable may be unavailable to the debugger in portions of the program where Common Lisp says that the variable is defined. If a variable value is not available, the debugger will not let you read or write that variable. With one exception, the debugger will never display an incorrect value for a variable. Rather than displaying incorrect values, the debugger tells you the value is unavailable.

The one exception is this: if you interrupt (e.g., with tex2html_wrap_inline15951) or if there is an unexpected hardware error such as ``bus error'' (which should only happen in unsafe code), then the values displayed for arguments to the interrupted frame might be incorrect.gif This exception applies only to the interrupted frame: any frame farther down the stack will be fine.

The value of a variable may be unavailable for these reasons:

Since it is especially useful to be able to get the arguments to a function, argument variables are treated specially when the speed optimization quality is less than 3 and the debug quality is at least 1. With this compilation policy, the values of argument variables are almost always available everywhere in the function, even at unknown locations. For non-argument variables, debug must be at least 2 for values to be available, and even then, values are only available at known locations.


next up previous contents
Next: 3.4.2 Note On Lexical Up: 3.4 Variable Access Previous: 3.4 Variable Access

Raymond Toy
Mon Jul 14 09:11:27 EDT 1997