Download Print this page

Displaying Local Variables - Renesas HS0005KCU04HE User Manual

Multi-core emulator

Advertisement

Section 6 Tutorial
6.14

Displaying Local Variables

The user can display local variables in a function using the [Locals] window. For example, we
will examine the local variables in the main function, which declares four local variables: a, j, i,
and p_sam.
• Select [Locals] from the [Symbol] submenu of the [View] menu of the High-performance
Embedded Workshop for CPU1. The [Locals] window is displayed.
The [Locals] window shows the local variables in the function currently pointed to by the program
counter, along with their values. Note, however, that the [Locals] window is initially empty
because local variables are yet to be declared.
• Click mark '+' at the left side of array a in the [Locals] window to display the elements.
• Refer to the elements of array a before and after the execution of the sort function, and
confirm that random data is sorted in descending order.
Rev. 1.00 Nov. 26, 2007 Page 168 of 230
REJ10J1766-0100
Figure 6.22 [Locals] Window

Advertisement

loading

This manual is also suitable for:

Superh e10a-usb