SourcePoint AMD Help

Table of Contents

Globals Tab

The Globals tab displays a hierarchy of loaded programs. Programs can be expanded to show modules, procedures, and symbols.

Columns

There are up to four columns displayed in the Files view: Name, Address, Type, and Value, depending on how expanded an entry is. The Name column displays program, module, procedure, and symbol names. The Address and Type columns display symbol addresses and data types. The Value column displays variable values. The Name and Value columns are always displayed, while the Address and Type columns can be enabled or disabled via the context menu.

Programs

Each program can be expanded in the Globals folder to show the modules it contains. A Code or Memory window, showing the starting point of a program, can be opened by selecting either the Open Code Window or Open Memory Window menu item from the context menu. Programs can be removed from SourcePoint by selecting either Remove Program or Remove All Programs from the context menu.

Note: If a module does not contain any data variables, the + disappears from in front of the Data folder the first time it is expanded.

Note: Currently, values are not available for program global variables.

Modules

Each module can be expanded to show the procedures it contains. Module bitmaps are colored yellow to indicate that source line information is available. A Code or Memory window, showing the first procedure in the module, can be opened by selecting either Open Code Window or Open Memory Window from the context menu. To set a breakpoint at the first procedure in the module, select Set Breakpoint from the context menu.

Expanding the Data folder of a program displays all the global variables defined in the program. Expanding the Data folder for a module displays the variables defined within that module.

Note: To speed program load, symbol information is not completely processed until requested. For very large programs (programs with a lot of symbols), opening the Data folder for a program may take a while. Opening the Data folder for a particular module is usually faster.

Note: if a module doesn't contain any global variables, the + disappears from in front of the Data folder the first time it is expanded.

Procedures

A Code or Memory window, showing the procedure, can be opened by selecting either Open Code Window or Open Memory Window from the context menu. To set a breakpoint at the entry point of the procedure, select Set Breakpoint from the context menu. Selecting Go Until Cursor from the context menu causes the processor to run until the procedure is executed.

Symbols

Symbols include variables and labels. Variables have editable values, while labels do not. Composite variables, including arrays, structures, and unions, are expandable to show their sub-elements. The Address and Type columns are not visible by default but can be enabled via the context menu. (You must have selected a symbol for these items to be available in the context menu). Alternatively, the address and data type of a symbol can be viewed either via the flyover tooltips or by selecting Properties from the context menu. Variable values can be edited by double-clicking the left mouse button or by selecting Edit from the context menu. Variable values are normally colored black. If a variable value changes, either by running or stepping the processor or by editing its value directly, then the value is colored green to indicate the change.

ย