Section 6 Tutorial
6.13
Watching Variables
As the user steps through a program, it is possible to watch that the values of variables used in the
user program are changed. For example, set a watch on the long-type array a declared at the
beginning of the program, by using the following procedure:
• Place the cursor in the column to the left of where array a is displayed in the [Editor] window
of the High-performance Embedded Workshop for CPU1.
• Click the right-hand mouse button and select [Instant Watch...].
The following dialog box will be displayed.
Figure 6.17 [Instant Watch] Dialog Box
• Click the [Add] button to add a variable to the [Watch] window.
Figure 6.18 [Watch] Window (Displaying the Array)
Rev. 1.00 Nov. 26, 2007 Page 165 of 230
REJ10J1766-0100