beautypg.com

11 referencing variables – Renesas R0E530640MCU00 User Manual

Page 46

background image

R0E530640MCU00 User’s Manual

3. Tutorial

REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 46 of 229


3.11 Referencing Variables

When single-stepping a program, you can see how the values of the variables used in the program will change as you step
through source lines or instructions. For example, following the procedure described below, you can look at the long-type
array ‘a’ that is declared at the beginning of a program.
Click the left-hand side of the array ‘a’ displayed in the Editor window and place the cursor there. Select Instant Watch with
the right mouse button. The dialog box shown below will be displayed.

Figure 3.13 Instant Watch dialog box


Click the Add button to add a variable to the Watch window.

Figure 3.14 Watch window (array display)


Or you can specify a variable name to add a variable to the Watch window. Click the right mouse button in the Watch window
and choose Add Watch from the context menu. The dialog box shown below will be displayed.

Figure 3.15 Add Watch dialog box

This manual is related to the following products: