Sun Studio 12 Update 1: Debugging a Program With dbx

frame Command

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.

Syntax

frame

Display the frame number of the current frame.

frame [-h] number

Set the current frame to frame number.

frame [-h] +[number]

Go number frames up the stack; default is 1.

frame [-h] -[number]

Go number frames down the stack; default is 1.

-h

Go to frame, even if frame is hidden.

where:

number is the number of a frame in the call stack.