Next Prev Up Top Contents Index

2.4.2 Moving around the stack

On entry to the debugger the current frame is the one at the top of the execution stack. There are commands to move to the top and bottom of the stack, to move up or down the stack by a certain number of frames, and to move to the frame representing an invocation of a particular function.

:>

Debugger command

This sets the current frame to the one at the bottom of the stack.

:<

Debugger command

This sets the current frame to the one at the top of the stack.

:p

Debugger command

:p [ m | fn-name | fn-name-substring ]

By default this takes you to the previous frame on the stack. If it is followed by a number then it moves that number of frames up the stack. If it is followed by a function name then it moves to the previous call frame for that function. If it is followed by a string then it moves to the previous call frame whose function name contains that string.

:n

Debugger command

:n [ m | fn-name | fn-name-substring ]

Similar to the above, this goes to the next frame down the stack, or m frames down the stack, or to the next call frame for the function fn-name, or to the next call frame whose function name contains fn-name-substring .


LispWorks User Guide - 18 Feb 2003

Next Prev Up Top Contents Index