The frame command lists or changes the current stack frame number. It has identical syntax and identical functionality in native mode and in Java mode.
Display the frame number of the current frame.
Set the current frame to frame number.
Go number frames up the stack; default is 1.
Go number frames down the stack; default is 1.
Go to frame, even if frame is hidden.
number is the number of a frame in the call stack.