A variable breakpoint causes the execution of a thread to suspend
at the variable where the breakpoint is set.
To add a variable breakpoint, complete these steps:
- 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 (
) is displayed 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.