Renesas M16C PC4701 用户手册

下载
页码 294
 
 
 
6.2.9 Step9 : 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. 
If the downloaded program is the program generated by the assembler package for 740 family, you 
can not watch variables in C watch window. 
 
6.2.9.1 Watching Variables 
For example, set a watch on the long-type array a declared at the beginning of the program, by using 
the following procedure: 
Click the left of displayed array a in the [Editor(Source)] window to position the cursor, and select 
[Add C Watch...] with the right-hand mouse button. The [Watch] tab of [C watch] window in which 
the variable is displayed opens. 
 
 
 
The user can click mark '+' at the left side of array a in the [C Watch] window to watch all the 
elements. 
 
 
 
72