Download High-performance Embedded Workshop V.4.00 USER`S MANUAL
Transcript
15. Using the Debugger (b) Setting section group When using the Overlay function, the highest-priority section group must be selected in the Overlay dialog box, otherwise the HEW will operate incorrectly. Firstly, click one of the address ranges displayed in the Address list box. The section groups assigned to the selected address range will then be displayed in the Section Name list box. Click to select the section group with the highest-priority among the displayed section groups. After selecting a section group, clicking the OK button stores the priority setting and closes the dialog box. Clicking the Cancel button closes the dialog box without storing the priority setting. Note: Within the address range used by the Overlay function, the debugging information for the section specified in the Overlay dialog box is referred to. Therefore, the same section of the currently loaded program must be selected in the Overlay dialog box. 15.18.3 Looking at variables This section describes how you can look at variables in the source program. (1) Tooltip Watch The quickest way to look at a variable in your program is to use the Tooltip Watch feature. To use Tooltip Watch: 1. 2. 3. 4. Select [Setup->Options…] menu option. Select the [Editor] tab. The [Options] dialog box is displayed. Check the [Enable tooltip watch] check box. Click [OK]. To view a tooltip watch on the Editor window: 218 1. Open the Source window showing the variable that you want to examine. 2. Rest the mouse cursor over the variable name that you want to examine. A tooltip will appear near the variable containing basic watch information for that variable.