Browse window for globals
To bring up a browse window for globals, do one of the following:
- From the debugger, choose Browse > Globals...
- In the command pane, enter: browse globals.
By default, a browse window for globals shows three attributes of a global variable. The following table lists all the attributes of a global variable which can be shown in a browse window for globals.
Procedure attributes
|
Attribute
|
Information shown in column
|
Global Name
|
The name or mangled name of the global variable, depending on what kind of name is chosen.
|
Module
|
Name of the module from which the global variable comes from, if any.
|
Object File
|
Name of the object file in which the global variable is defined if it is static, or name of a object file in which the global variable is defined or referred to if it is not static.
|
Library
|
Name of the library from which the global variable comes from, if any.
|
Address
|
Address of the global variable.
|
Size
|
Size of he global variable.
|
Type
|
G: if the global variable is non-static;
S: if the global variable is static.
|
A global variable's information is displayed as follows:
- Displayed in the color for "comment" in syntax coloring if it is static.
- Displayed in the normal foreground color otherwise.
The following table lists the operations when you click in the browse pane.
Mouse action
|
Function Description
|
Left click
|
Prints the global's value in the command pane if applicable, otherwise, the debugger issues a beep as a warning (for reasons such as the process is running, etc.).
|
Double left click
|
Opens a data explorer to show the global's value if applicable, otherwise, the debugger issues a beep as a warning (for reasons such as the process is running, etc.).
|
Right click
|
Opens a pop-up menu. See "Pop-up menu for a global" below for details.
|
Pop-up menu for a global
|
Menu Item
|
Description
|
Name
|
Shows normal names for globals.
|
Mangled Name
|
Shows mangled names for globals.
|
Print Value
|
Prints the clicked global's value in the command pane.
|
View Value
|
Opens a data explorer for the clicked global.
|
(other options)
|
Enables or disables displaying the corresponding attribute.
|
The following table lists the operations when you click a header column in the browse pane:
Mouse action
|
Function Description
|
Left click
|
Sorts the objects according to corresponding column (the order toggles).
|
Right click
|
Opens a pop-up menu. The menu items' functions are the same as those specified in the table "Pop-up menu for a global" above.
|
Related topics:
Copyright © 1999, Green Hills Software. All rights
reserved.