You should know the following characteristics about watches before working with them:
Depending on overall system use, you may be limited in the number of watch conditions you can set at a given time. If you try to set a watch condition while the maximum number of active watches across the system is exceeded, you receive an error message and the watch condition is not set.
An example of this is the automatic storage of an ILE RPG subprocedure, which can be re-used after the subprocedure ends.
A watch condition may be registered although the watched variable is no longer in scope. You must not assume that a variable is in scope just because a watch condition has been reported.
If the program has debug data, and a source text view is available, it will be shown. The source line of the statement that was about to be run when the content change at the storage-location was detected is highlighted. A message indicates which watch condition was satisfied.
If the program cannot be debugged, the text area of the display will be blank.