How do I view global variables that have been accessed in my project?

To view global variables that have been accessed in your project, follow these steps:

  1. 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.

  2. Right-click a variable.

    A context menu appears.

  3. Select Add Global Variables in the context menu.

    The Add Globals dialog box appears.

    Figure 1. Add Globals Dialog Box

    Add Globals Dialog Box

  4. Select the global variables that you want to view.
  5. 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.