1
New Debugging Features:
4
(:s "cal") or (:s 'cal) searches the stack for a frame whose function or
5
special form has a name containing "cal", moves there to display the local
9
:bl displays the args and locals of the current function.
10
(:bl 4) does this for 4 functions.
12
(si:loc i) accesses the local(i): slot.
13
the *print-level* and *print-depth* are bound to si::*debug-print-level*
15
Recall that kcl permits movement to previous frame (:p) and next frame (:n).
16
These also take numeric args eg. (:p 7) moves up 7 frames.
18
If functions are interpreted, the arg values are displayed together
19
with their names. If the functions are using the C stack (ie proclaimed
20
functions), very little information is available.
23
Note you must have space < 3 in your optimize proclamation, in order for
24
the local variable names to be saved by the compiler.
26
To Do: add setf method for si:loc.
27
add restart capability from various spots on the stack.