5.7 Setting a Watch Breakpoint
A watch breakpoint provides notification to a developer when a variable that is being watched changes. The program stops
at the line immediately after the statement which caused the change.
Follow these steps:
- Ensure that the Breakpoints tab is selected in the main debugger window.
The Breakpoint menu is now available on the menu bar.

- Select or double-click the variable CUSTNO in the Source pane.
- Select Breakpoints > Set Watch
from the menu bar to invoke the Watch Breakpoint dialog box.
- In the Expression entry field of the dialog box, the CUSTNO variable is
automatically entered as it was selected in the Source pane.

-
Ensure the field Bytes to Monitor is set to zero.
- Click OK
Click on
to indicate that you have completed
these steps.