Download SuperH RISC Engine Simulator/Debugger, User`s Manual

Transcript
Full Method
The full method uses a dialog box that allows you to enter more complex watch expressions, for
example arrays, structures or pointers.
To use Add Watch from a Watch Window:
1. Open the Watch window.
2. Choose the [Add Watch...] menu option from the popup menu.
The Add Watch dialog box opens:
Figure 12.3 Add Watch Dialog Box
Enter the name of the variable that you wish to watch and click [OK]. The variable is added to
the Watch window.
Figure 12.4 Watch Window
12.3.2
Expanding a Watch
If a watch item is a pointer, array, or structure, then you will see a plus sign (+) expansion
indicator to the left of its name. This means that you can expand the watch item. To expand a
watch item, double-click on it. The item expands to show the elements (in the case of structures
and arrays) or data value (in the case of pointers) indented by one tab character, and the plus sign
Rev. 3.0, 09/00, page 237 of 276