Debug-variables represent the constant information about where the system stores argument and local variable values. The system uniquely identifies with an integer every instance of a variable with a particular name and package. To access a value, you must supply the frame along with the debug-variable since these are particular to a function, not every instance of a variable on the stack.
This function returns the name of the debug-variable. The name is the name of the symbol used as an identifier when writing the code.
This function returns the package name of the debug-variable. This is the package name of the symbol used as an identifier when writing the code.
This function returns the symbol from interning
debug-variable-name in the package named by
debug-variable-package.
This function returns the integer that makes debug-variable’s name and package name unique with respect to other debug-variable’s in the same function.
This function returns three values reflecting the validity of debug-variable’s value at basic-code-location:
:validThe value is known to be available.
:invalidThe value is known to be unavailable.
:unknownThe value’s availability is unknown.
This function returns the value stored for debug-variable in
frame. The value may be invalid. This is SETF’able.
This function returns the value stored for debug-variable in
frame. If the value is not :valid, then this signals an
invalid-value error.