9 step9 : watching variables, 1 watching variables – Renesas Emulator Debugger M16C PC4701 User Manual

Page 86

Advertising
background image


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

Advertising