Debug Operations for PL/SQL and Java Programs
This topic provides an overview of the operations that can be performed through the Debug console.
The Debug window toolbar enables you to perform the various actions on an ongoing debug session. You can evaluate each expression/line of code where the breakpoint pauses the execution of the PL/SQL method or the Java program. You can also add and manage multiple watches on the expression variables. The following table lists some of the common debugging operations:
| Toolbar Options | Description |
|---|---|
| Rerun | Restarts the debugger session. |
| Pause | Pauses the debugger session when running. |
| Resume Program | Resumes the debugger session when paused. |
| Step Over | Steps over the current line of code and move to the next executable line, skipping any method implementation lines. |
| Step Into | Steps into the method to evaluate it. |
| Step Out | Steps out of the current method or code block and jumps to the caller method. |
| View Breakpoints | Opens the Breakpoint dialog box to create, manage and remove breakpoints. |
| Mute Breakpoints | Mutes the breakpoints so that execution does not stop at the breakpoints while the debugger session continues to run. |
| Up the Stack Trace | Moves from the bottom of the list to examine the program call stack being debugged. |
| Down the Stack Trace | Moves from the top of the list to examine the program call stack being debugged. |
| Soft-Wrap | Wraps long lines of program code in the debug console output window, preventing horizontal scrolling. |
| Scroll to End | Scrolls to the end of the debug console window to navigate to the latest output. |
| Force Step Over | Forces the debugger to skip over the current line of code and move to the next while ignoring the breakpoints within the called method. |
| Force Step Into | Forces the debugger to step into the method you are interested in, even if that method is skipped by the regular 'Step Into' action. |
| Smart Step Into | If there are several methods called in a line, select the specific method and then select this menu option to step into that method in the code. |
| Run to Cursor | Continues execution of the target program until the position of the caret is reached. |
| Force Run to Cursor | Forces the execution to reach until the position of the caret, ignoring the breakpoints on the way. |
| Show Execution Point | Jumps to the current execution point in the line of code where the program execution is paused. |
| Get Thread Dump | Captures a snapshot of the current state of the debugged program, including call stacks for all active threads. |
| Trace Current Stream Chain | Provides a visual step-by-step analysis of how data flows and transforms through a stream pipeline, when debugger is paused within a stream operation. |
| Debugger Settings | Allows you to:
|
| Modify Run Configurations | Opens the Run/Debug Configurations window of your IDE platform where you can create new configurations (temporary or permanent) or make changes to the existing ones for an executable class or method. |
Parent topic: Debugging Engine