To view global variables that have been accessed in your project, follow these steps:
- Select
Window > Show View > Variables
from the IDE menu bar while in the debugger perspective.
The
Variables
view appears docked to the upper right hand side of debugger
perspective.
- Right-click a variable.
A context menu appears.
- Select
Add Global Variables
in the context menu.
The
Add Globals
dialog box appears.
Figure 1.
Add Globals Dialog Box

- Select the global variables that you want to view.
- Click
OK
.
The
Add Globals
dialog box closes.
The selected variables appear in the
Variables
view with the symbol that identifies them as global variable.
Note:
The selected global variables will persist throughout the session and subsequent sessions, until they are removed.