The Global Variables window shows all global and static variables for each process that you debug. You can open separate Global Variables windows for each process in the same build target. Use the window to observe changes in variable values as the program executes.
Figure 1 shows the Global Variables window.
Figure 1 Global Variables window
Item | Explanation |
---|---|
File | Lists source files that declare global or static variables. Click a source file to view its static variables. Click Global Variables to view all global variables declared in the program. |
Variables | Lists variables according to the file selected in the File pane. Double-click a variable to display it in a separate Variable window. |
Use the Global Variables window to display global variables declared in a program or static variables declared in source files that comprise the program.
You can open a separate Global Variables window for each process that the same parent application creates.
To open the Global Variables window for a particular process, follow these steps:
A debugging session starts.
Repeat these steps for each process that has global variables that you want to examine.