Download High-performance Embedded Workshop V.4.03 User`s Manual

Transcript
17. Using the Debugger
“+” shown to the left of the variable name indicates that the information may be expanded by clicking
on the variable name, and “-” indicates that the information may be collapsed. Clicking Add registers
the variable in the Watch window. Clicking Close closes the window without registering the variable in
the Watch window.
(3) Watch window
The HEW allows you to open Watch windows, which contain a list of variables and their values.
(a) Opening the Watch window
) or choose [View->SymbolTo open a Watch window, click on the Watch toolbar button (
>Watch] if it is visible. A Watch window opens. Initially the contents of the window will be blank.
Window configuration
•
This window allows the user to view and modify C/C++-source level variables.
•
The contents of this window are displayed only when the debugging information available in
the absolute file (*.abs) includes the information on the C/C++ source program. The variable
information is not displayed if the source program information is excluded from the
debugging information during optimization by the compiler. In addition, the variables that are
declared as macro cannot be displayed.
•
A variable can be dragged from the editor window or disassembly window (in source mode)
and dropped into the Watch window.
The following items are displayed.
Name
Value
Type
Name of the variable.
Value and assigned location. The assigned location is enclosed by { }.
Type of the variable
The R mark shows that the value of the variable can be updated during user program execution. When
the color of the R mark is black, a value is real-time updated.
Option
Right-clicking displays a pop-up menu containing available options.
A basic operation is allocated to the toolbar.
The functions of Toolbar display and Customize toolbar are also included in the pop-up menu
displayed by right-clicking the toolbar area.
332