Setting a variable breakpoint

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:

  1. 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.
  2. Choose Add Variable Change Breakpoint from the pop-up menu.
  3. A new variable breakpoint marker ( Blue enabled breakpoint indicator) 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.

Related concepts
Breakpoints
Related tasks
Removing breakpoints

Feedback