■ Adds a watch variable to the Debug window. This variable is displayed with the value from its module or procedure location. It is not watchable outside of this context. ■ Use watch variables to continuously watch the value of a variable or an expression as your project executes. ■ The message <Not watchable> appears in the Debug window if the environment cannot access the variable value. ■ Tip: Use Watchpoint rather than Add Watch to suspend project execution when an expression becomes True. ■ To add a watch: 1. Type the variable name or expression you want to watch. Enter expression to add to Debug window: ┌─────────────────────────────────────────────────┐ │ │ └─────────────────────────────────────────────────┘ • The Debug window can display the value of an expression made of variables (for example, X + Y). 2. Press Enter or choose OK to add the watch variable, ╔════════╗ ║ OK ║ ╚════════╝ or choose one of the following: ┌────────┐ │ Cancel │ To cancel the operation └────────┘ ┌────────┐ │ Help │ To get help └────────┘ ■ After you choose OK, the variable name is displayed in the Debug window, preceded by the procedure name or module file name where the variable is located.