Add Items from the Outline View to the Watch Data View
If you want to add variables directly from the Outline view to the Watch Data view, you can use the Add to Watch Data option.
Follow these steps:
-
Select Window, Show Views, Outline to display the Outline view.
-
Select an active program listing in the Program Listing area.
The Outline view refreshes to show the contents of the program listing. -
Expand a label in the Outline view.
The Outline view displays the list of items under the selected label. -
Select the variable that you want to add to the Watch Data view in the Outline view. Right-click and select Add to Watch Data.
The Watch Data view refreshes to display the new variable.