The variables window displays a variables list for the current source window (i.e. the one nearest the top). If the source window is not in the call stack the variables window will be empty. You can switch back to the source window by pressing F4. The window contains a highlight bar that shows the currently selected variable. The type of the variable is displayed in the bottom left corner of the window border.
In addition to using the scroll bar, you can move the highlight bar by using the following keystrokes:
Key |
Meaning |
Up |
Bar up one |
Down |
Bar down one |
Page Up |
Bar up one page |
Page Down |
Bar down one page |
Home |
Start of list |
End |
End of list |
Right |
Scroll the window to the right |
Left |
Scroll the window to the left |
Enter |
Display variable in its own window |
F4 |
Display source |
F5 |
Display user screen |
F6 |
Run program |
F7 |
Step to next source line |
F8 |
Step to next source line and step over any calls tp routines |
Shift+F9 |
Fix window size and position |
Alt+C |
Display call stack |
Ctrl+U |
Set use (read/write) break point on variable |
Ctrl+W |
Set write break point on variable |
The variables window displays the contents of all the variables in the current scope. This is usually more than adequate for simple variables. It is often useful to have commonly accessed variables or more complex variables (such as C structures or Fortran 95 types) displayed in a separate data view window. From a variables window this can be achieved by one of two methods:
Press Enter with the variable highlighted.
Double-click the left mouse button over the variable name.
In addition, pressing the right mouse button will bring up a menu duplicating some of the above items as well as options to display memory dumps at the location of the variable and at the location indicated by the value of the variable.