4. Viewing and Navigating To Code
5. Controlling Program Execution
6. Setting Breakpoints and Traces
Finding Your Place on the Stack
Walking the Stack and Returning Home
Displaying and Reading a Stack Trace
8. Evaluating and Displaying Data
11. Debugging Multithreaded Applications
16. Debugging Fortran Using dbx
17. Debugging a Java Application With dbx
18. Debugging at the Machine-Instruction Level
19. Using dbx With the Korn Shell
You can remove the stopped in function from the call stack, making the calling function the new stopped in function.
Unlike moving up or down the call stack, popping the stack changes the execution of your program. When the stopped in function is removed from the stack, it returns your program to its previous state, except for changes to global or static variables, external files, shared members, and similar global states.
The pop command removes one or more frames from the call stack. For example, to pop five frames from the stack, type:
pop 5
You can also pop to a specific frame. To pop to frame 5, type:
pop -f 5
For more information, see pop Command.