6.21.2   Managing Variables

In large programs the variable window can become quite cluttered, which makes watching selected variables difficult. Therefore, you can customize the selection of displayed variables.

All  
All variables used by the current procedure are displayed at once. Global variables (see section “Scope of Variables (local or global)”) are marked with .

Auto  
The variables of the current and the previous operator call are displayed. This is useful when single-stepping through the program, because only the variables relevant to the current context are displayed.

User  
A user-defined selection of variables is displayed. If the tab User is active, variables can be added from a list in the context menu. In the other tabs variables are added by selecting them first and clicking Add to User Tab in the context menu.

It is also possible to select a variable name in the program window and drag it to the variable window. The corresponding variable will then be added to the watched variables, and the tab User will be activated.

Global  
All global variables (see section “Scope of Variables (local or global)”) of the current program are displayed. This includes global variables in external procedures, even if they are not used in the current program.

The context menu of the global variables includes an additional entry Declared in. It lists the names and line numbers of the procedures that declare (and thus use) the corresponding global variable. Click an entry to jump to the corresponding location in the program window.