Before you begin, you must complete Exercise 5.10: Adding a memory monitor.
A watch breakpoint provides a notification to the user when a variable changes. It will suspend the execution of the program until an action is taken.
To set a watch breakpoint:
The Add a Watch Breakpoint window opens. The Expression field is pre-filled with the highlighted variable *IN60.
By default the Number of bytes to watch field is set to zero,
which means the variable will be watched in its defined length.
The watch breakpoint is now set.
The application waits for input from the 5250-emulation session.
You have added a watch breakpoint for the variable *IN60 and run the program to see the notification that the variable has changed and you are ready to begin Exercise 5.12: Closing the debug session.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.