Setting a variable breakpoint
To add a variable breakpoint, do the following:
In the Variables view, right click on the variable at which you want a breakpoint to be set.
Note: You cannot set breakpoints on SQLCODE and SQLSTATE. Choose Add Variable Change Breakpoint from the pop-up menu. A new variable breakpoint marker (
) appears in the Breakpoints view.
When a breakpoint is enabled, thread execution suspends after the variable changes. The debugger selects the thread that has been stopped by the breakpoint and automatically displays the stack frames for that thread. The execution point where the routine was interrupted is shown in the editor.
Related concepts
Breakpoints
Related tasks
Removing breakpoints