|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library|
Moving up or down the stack is referred to as “walking the stack.” When you visit a function by moving up or down the stack, dbx displays the current function and the source line. The location from which you start, home, is the point where the program stopped executing. From home, you can move up or down the stack using the up command, down command, or frame command.
The dbx commands up and down both accept a number argument that instructs dbx to move a number of frames up or down the stack from the current frame. If number is not specified, the default is 1. The -h option includes all hidden frames in the count.