You can add global variables to the
Variables view.
To add global variable:
- Choose Project > Debug from the IDE menu bar.
A debugging session starts.
- In the Variables view toolbar, click the Add Global Variables button
. The
Add Globals dialog appears.
Tip: You can also add a global variable by choosing the Add Global Variable command from the shortcut menu.
Figure 1. Add Globals dialog
- Specify a search criteria in the available textbox to filter the list of variables.
- Select the global variable to be added.
Note: Global variables of other executables (other than the main one) are also listed in the Add Globals dialog.
- Click OK.