Add Variables to the Debugger Watch List

You can have the Debugger monitor how answers to specific variables change as you step through the interview or script. You do this by adding variables to a custom watch list.

When you add variables to the watch list, they will be associated with the list until you manually remove them. Also, the custom watch list contains variables for only the current component file. In other words, if you are debugging a template that has an inserted template, you can actually have two watch lists—one for variables in the parent template and one for variables in the inserted template.

To add variables to a watch list

  1. At the Debugger window, click the Custom Watch List tab. The tab changes to show the list of specific variables you want to watch.
  2. In the Watch pane, right-click and choose Add or Remove Variables from the shortcut menu. The Add or Remove Variables dialog box appears, showing a list of all the variables in the current component file. (You can filter this list by clicking the Variables drop-down button and choosing a variable type.)
  3. Select a variable and click the Add Variables button. The variable is added to the Variables to watch list.
  4. Add as many variables as you want to monitor and click OK when you are finished. The variables are added to the Custom Watch List tab.

To remove a variable from the custom watch list, select the variable and click the Remove Variables button. You can also select a variable at the Watch pane, right-click, and choose Remove Selected Variable from the shortcut menu.