Variable List

Top  Previous  Next

The Variable List Dialog can be reached by pressing the Variable List Button in the Watches page of the Debugger.

The list is a tree diagram of all the variables in the code. At the top level the list shows all the subroutines in the code in the order they  are declared. Local variables are contained in the folder under each subroutine. Global variables are located in the Global folder at the bottom of the list.

 

Check Boxes. Each item in the list has a check box to its left. Checking the box adds that variable to the watch list. Checking a subroutine box adds all variables in the subroutine to the list. Unchecking a box removes the corresponding variables from the list.

 

Toolbar. The toolbar on the left lets you  check or clear multiple variables at one time. Here is a description of each button:

VariableList

 

CheckAll

This button checks all variables in the Variable List, adding them to the Watch List.

ClearAll

This button clears the check boxes of all variables in the Variable List, removing them from the Watch List.

CheckHighlighted

This button checks all highlighted variables in the Variables List, adding them to the Watch List.

ClearHighlighted

This button clears the check boxes of all highlighted variables in the Variable List, removing them from the Watch List.

SearchBtn2

Pressing this button brings up a standard search dialog that enables you to search through the list for a specific variable.

FullColapse

This button collapses the tree so that only the top-level variables and procedures are visible.

FullExpand

This button expands the tree so that all nested variables and procedures are visible.

Variables can be highlighted in groups using the Ctrl and Shift keys. With the Ctrl key down, clicking on a variable will highlight it without unhighlighting any other variable. With the Shift key down, clicking on a variable will highlight all intervening variables between the last highlighted variable and the current one.

 

Status Display. The status display provides technical details about the currently highlighted variable. This includes the corresponding Procedure Name, the Variable Name, the Scope of the Variable in I2L Program Counter values, the Level and Offset of the variable and its data type.