Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting

> ## Add Watch dialog box

> The Add Watch dialog box lets you add a watch for any variable, including fields and handle or object attributes, in the executing procedure or any procedure on the call stack. A watch allows you to keep track of the value of a variable, parameter, buffer field, attribute, data, or built-in 4GL function as you navigate through your 4GL application. The name and value of the variable on which the watch is set appears in the watches pane. Figure 3–2 shows the Add Watch dialog box.

> Figure 3–2: Add Watch dialog box

> Access this dialog box by choosing the Add Watch option on the Debug menu or the context (right-click) menu in the watches pane.

> | To add a watch, enter an entity in the Watch field and choose the OK button.

> You also can add a watch for an entity by:

> - Entering the watch in the watches pane directly.

> - Selecting text in the source code pane or selecting a variable in the variables pane, and then choosing the Add Watch option on the context (right-click) menu.

> - Selecting an entity in the Dataview dialog box and choosing the Add Watch button.

> - Dragging selected text from the source code pane and dropping it onto the watches pane.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095