SourcePoint AMD Help
Table of Contents
- Using Help
- Contacting ASSET InterTech
- Introduction to SourcePoint
- SourcePoint Environment
- SourcePoint Overview
- SourcePoint Parent Window Introduction
- SourcePoint Icon Toolbar
- File Menu
- File Menu - Project Menu Item
- File Menu - Layout Menu Item
- File Menu - Program Menu Item
- File Menu - Macro Menu Item
- File Menu - Print Menu Items
- File Menu - Update Emulator Flash Menu Item
- File Menu - Program Target Device Menu Item
- File Menu - Other Menu Items
- Edit Menu
- View Menu
- Processor Menu
- Options Menu
- Options Menu - Preferences Menu Item
- Options Menu - Target Configuration Menu Item
- Options Menu - Load Target Configuration File Menu Item
- Options Menu - Save Target Configuration File Menu Item
- Options Menu - Emulator Configuration Menu Item
- Options Menu - Emulator Connection Menu Item
- Options Menu - Emulator Reset Menu Item
- Options Menu - Confidence Tests Menu Item
- Window Menu
- Help Menu
- How To -- SourcePoint Environment
- Add Emulator Connections
- Configure Custom Macro Icons
- Configure Autoloading Macros
- Display Text on the Icon Toolbar
- Edit Icon Groups to Customize Your Toolbars
- Modify a Defined Memory Region
- Refresh SourcePoint Windows
- Save a Program
- Start SourcePoint With Command Line Arguments
- Use the New Project Wizard
- Verify Emulator Network Connections
- SourcePoint Overview
- Breakpoints Window
- Breakpoints Window Overview
- How To - Breakpoints
- Code Window
- Command Window
- Command Window Overview
- Confidence Tests Window
- Confidence Tests Window Overview
- Descriptors Tables Window
- Descriptors Tables Window Overview
- How To - Descriptors
- Devices Window
- Devices Window Overview
- How To - Devices Window
- Log Window
- Log Window Overview
- Memory Window
- Memory Window Overview
- How To - Memory Window
- Page Translation Window
- Page Translation Windows Overview
- PCI Devices Window
- PCI Devices Window Overview
- How To - PCI Devices Window
- Registers Window
- Registers Window Overview
- How To - Registers
- Symbols Windows
- Symbols Window Overview
- How To - Symbols Window
- Viewpoint Window
- Viewpoint Window Overview
- Watch Window
- Watch Window Overview
- How To - Watch Window
- Technical Notes
- SourcePoint Command Language
- Overview
- Commands and Control Variables
- aadump
- abort
- abs
- acos
- advanced
- asin
- asm
- asmmode
- atan
- atan2
- autoconfigure
- base
- bell (beep)
- bits
- break
- breakall
- cachememory
- cause
- Character Functions
- clock
- continue
- cos
- cpubreak commands
- cpuid_eax
- cpuid_ebx
- cpuid_ecx
- cpuid_edx
- createprocess
- ctime
- cwd
- dbgbreak commands
- defaultpath
- #define
- define
- definemacro
- deviceconfigure
- devicescan
- disconnect
- displayflag
- do while
- dos
- dport
- drscan
- edit
- editor
- emulatorstate
- encrypt
- error
- eval
- evalprogramsymbol
- execution point ($)
- exit
- exp
- fc
- fclose
- feof
- fgetc
- fgets
- first_jtag_device
- flist
- flush
- fopen
- for
- forward
- fprintf
- fputc
- fputs
- fread
- fseek
- ftell
- fwrite
- getc
- getchar
- getnearestprogramsymbol
- getprogramsymboladdress
- gets
- globalsourcepath
- go
- halt
- help
- homepath
- idcode
- if
- include
- invd
- irscan
- isdebugsymbol
- isem64t
- isprogramsymbol
- isrunning
- issleeping
- issmm
- jtagchain
- jtagconfigure
- jtagdeviceadd
- jtagdeviceclear
- jtagdevices
- jtagscan
- jtagtest
- keys
- last
- last_jtag_device
- left
- license
- linear
- list, nolist
- load
- loadbreakpoints
- loadlayout
- loadproject
- loadtarget
- loadwatches
- log, nolog
- log10
- loge
- logmessage
- macropath
- Memory Access
- messagebox
- mid
- msgclose
- msgdata
- msgdelete
- msgdr
- msgdump
- msgir
- msgopen
- msgreturndatasize
- msgscan
- msr
- num_activeprocessors
- num_all_devices
- num_devices
- num_jtag_chains
- num_jtag_devices
- num_processors
- pause
- physical
- port
- pow
- print cycles
- printf
- proc
- processorcontrol
- processorfamily
- processormode
- processors
- processortype
- projectpath
- putchar
- puts
- rand
- readsetting
- reconnect
- Register Access
- reload
- reloadproject
- remove
- reset
- restart
- return
- right
- runcontroltype
- safemode
- save
- savebreakpoints
- savelayout
- savewatches
- selectdirectory
- selectfile
- shell
- show
- sin
- sizeof
- sleep
- softbreak, softremove, softdisable, softenable
- sprintf
- sqrt
- srand
- step
- stop
- strcat
- strchr
- strcmp
- strcpy
- _strdate
- string [ ] (index into string)
- strlen
- _strlwr
- strncat
- strncmp
- strncpy
- strpos
- strstr
- _strtime
- strtod
- strtol
- strtoul
- _strupr
- swbreak
- switch
- swremove
- tabs
- tan
- tapdatashift
- tapstateset
- targpower
- targstatus
- taskattach
- taskbreak, taskremove, taskdisable, taskenable
- taskend
- taskgetpid
- taskstart
- tck
- time
- #undef
- unload
- unloadproject
- upload
- unlock
- use
- verify
- verifydeviceconfiguration
- verifyjtagconfiguration
- version
- viewpoint
- vpalias
- wait
- wbinvd
- while
- windowrefresh
- wport
- writesetting
- yield
- yieldflag
Symbols Window Introduction
To access the Symbols window, go to View|Symbols on the menu bar or click on the Symbols icon on the toolbar. The Symbols window displays symbolic debug information. You have access to all symbols and source code via the Symbols window.
The Symbols window is a tabbed dialog with four tabs (views): Globals, Locals, Stack, and Classes. ย Each can be accessed via a mouse click on the tab of choice, or by tabbing through them to the one you want.
-
The Globals tab displays a hierarchy of loaded programs. Programs can be expanded to show modules, procedures, and symbols.
-
The Locals tab shows the variables accessible in the current stack frame.
-
The Stack tab shows the stack as a list of stack frames.
-
The Classes tab lists structure and class definitions in a hierarchy similar to that under the Globals tab.
Note: If you prefer separate windows for each view rather than using the tabs, open instances of the Symbols window, resize each window as desired, then save the settings in a project file. Up to 16 Symbols windows can be open at the same time.
ย
Symbols view under the Globals tab
General Features
Each view contains a multi-column tree control. Listed below are some of the common features found in each view.
Display Base
Values can be displayed in either decimal or hexadecimal. Select Hexadecimal Display in the context menu to toggle between the two. Regardless of the display base, addresses are always displayed in hexadecimal. In addition, values larger than 32 bits are always displayed in hexadecimal.
Note: There is no Symbols drop down menu on the menu bar. Menu items can be accessed via a context menu only. To open a context menu, right-click on a Symbols window.
Editing Values
Variable and register values can be edited by double-clicking the left mouse button or by selecting Edit from the context menu. To end editing a value, press the Enter key or select another field. If a value is being edited when either Go or Step is selected, then the edit is terminated, the value is written, and then the Go or Step operation is performed. Values can be copied and pasted by using the Edit menu, by using Ctrl-C/Ctrl-V, or by using drag and drop. Selecting Undo from the Edit menu restores a value to its original, unedited value. Selecting Redo restores the edited value.
Properties
A Properties dialog box can be opened by selecting Properties from the context menu. The information displayed varies depending on the type of item selected. Selecting a new item automatically refreshes the information displayed.
ToolTips
Most items have flyover tooltips that display some of the information available in the Properties dialog box.
Keyboard Support
The arrow keys provide keyboard support for navigation through the tree:
-
The Up Arrow and Down Arrow keys move between items.
-
The Left arrow and Right Arrow keys move along a particular branch. Pressing the Right Arrow expands a branch if it is not currently displayed. Pressing the Left Arrow moves to the first item in a branch; pressing it a second time collapses the branch.
-
The Home and End keys move to the top or bottom of the tree.
-
The Page Up and Page Down keys move a page at a time.
-
The + and - keys expand and collapse the current tree node.
-
The Enter key alternately expands and collapses the current node.
-
The use of the asterisk (Shift and the number 8 on the keyboard) expands all tree nodes beneath the currently selected node.
Shortcuts
Select Collapse All from the context menu to collapse all nodes in the tree. Certain views also have an Expand All entry in the context menu which expands all nodes in the tree. The use of the asterisk can also be used to expand all nodes in the tree.
Refresh
Values are refreshed automatically when the processor runs or when a value is changed elsewhere in SourcePoint. To force a refresh of all values in a view, select Refresh from the context menu.
Printing
To print a view, go to File|Print on the menu bar. The entire tree is printed, but only currently expanded nodes are included.
Saving to a File
To save a view, go to File|Save As on the menu bar. The Save As dialog opens. Specify a file name (or use the default) and then click OK. The entire tree is written to the specified file name.
Colors
Colors can be changed via the Colors tab under Options|Preferences.
For more information, see "Options Menu - Preferences Command," part of "SourcePoint Overview," found under SourcePoint Environment.
Multi-Processor Environment
In multi-processor systems, register values and stack-relative variables are always associated with the current viewpoint processor.
ย