7.8.2
Watching Variables
It is useful to be able to watch the values of variables as the program is being stepped.
For example, set a watch on the struct variable section1, which is declared at the beginning of the
program, using the following procedure:
•
Scroll up in the program window until you see the line:
sort(section1,
ID);
•
In the Program windows click once at the word section1 to position the blinking cursor on the word
section1.
•
Within the Program Window (Tutorial.c) perform a right mouse button click to display a pop-up
menu, and choose
Instant Watch
….
The Instant Watch dialog will be displayed:
Figure 7-18
Instant Watch dialog
•
Click
Add
button to add the variable to the Watch Window.
Figure 7-19
Watch Window
A variable watch can be added to the Watch Window by specifying its name. Use this method to add a
Watch on the variable
count
as follows:
•
Click with the right mouse button within the Watch window and choose
Add Watch
…
from the pop-
up menu.
59
www.DataSheet4U.com
Summary of Contents for CE2000-H8S Series
Page 2: ...Blank Page www DataSheet4U com...
Page 22: ...Blank Page 8 www DataSheet4U com...
Page 41: ...Blank Page 27 www DataSheet4U com...
Page 57: ...Figure 6 1 Basic Bus Cycle Timing in Expanded mode 43 www DataSheet4U com...
Page 59: ...Blank Page 45 www DataSheet4U com...
Page 84: ...70 Blank Page www DataSheet4U com...
Page 88: ...Part Number 8830E 080 170S Unit mm inch B 2 www DataSheet4U com...
Page 95: ...Renesas Technology Asia Sales Offices URL http www renesas com G 1 www DataSheet4U com...
Page 96: ...CE2000 www DataSheet4U com...