134
6.11 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
tutorial
function, which declares four local variables:
a
,
j
,
i
, and
p_sam
.
•
Select [Locals] from the [Symbol] submenu of the [View] menu. 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.
Figure 6.19 [Locals] Window
•
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.
Содержание H8 Series
Страница 4: ......
Страница 6: ......
Страница 19: ...vii D 1 System Set Up for Test Program Execution 241 D 2 Diagnostic Test Procedure Using Test Program 242...
Страница 20: ...viii...
Страница 21: ...Emulator Debugger Part...
Страница 22: ......
Страница 26: ...4...
Страница 40: ...18...
Страница 46: ...24...
Страница 148: ...126 Figure 6 8 Editor Window Break Status...
Страница 202: ...180...
Страница 250: ...228...
Страница 262: ...240...
Страница 271: ......
Страница 272: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan H8 3664 E6000 Emulator REJ10J1133 0600 User s Manual...