
Setting Watchpoints
If you want to interrupt a program when the contents of a field or structure change, use a watchpoint. You can set up to five watchpoints, including watchpoints for strings.
A watchpoint can be either local or global. Local watchpoints are only valid in the specified program. Global watchpoints are valid in the specified program, and also in all the other programs it calls.
Procedure
To set a watchpoint, start the
Debugger and proceed as follows:
Operator |
Meaning |
< |
Less than |
<= |
Less than or equal |
= |
Equal |
<> |
Not equal |
>= |
Greater than or equal |
> |
Greater than |
Result
The system confirms the watchpoint and adds it to the list in the display. When you finish your debugging session, the watchpoint is automatically deleted unless you have explicitly
saved it.