Changing the Current Stack Frame

To change the current stack frame in the Stack window:

Tip: You can also use the Up and Down arrow keys to move through the stack frames. Make sure the Stack window is the current window before using the arrow keys.

Each frame on the stack represents a subprogram call. When you change the current frame in the stack, affected debug windows are updated with the relevant content about the corresponding subprogram--its name, actual parameter values, and local variable values. For example, the current frame selected in the stack also causes the current frame in the Variables window to change accordingly. This enables you to view local variables of another subprogram in the call chain.

When you select a current stack frame, the Object Navigator also scrolls to the subprogram of the new frame, and the PL/SQL Editor displays the subprogram source code.

Changing the current stack frame, however, does not change the statement that will be executed when the application resumes running. The current execution location in the topmost stack frame contains the next statement to be executed.


Abou the Call Stack and Stack Frames

About the Current Execution Location and Current Stack Frame

Hiding and Showing the Debug Console

Viewing Stack Frames