Quick-start Tutorial
4-18 Copyright ©2002 ARM Limited. All rights reserved. ARM DUI 0181B
Figure 4-9 Updated memory conten ts
Click on the Pane menu again and select Set Number of Columns to show... to
choose how many columns are used in the memory display, for example
12
. If you
do not specify the number used (or specify zero), RealView Debugger displays as
many columns as it can fit into the pane.
6. Click the Go button on the Actions toolbar to execute the image. Enter a large
number of runs, for example
50000
.
7. Click Stop Execution to stop the program before it finishes and view the updated
memory contents, shown in dark blue in the Mem ory pane.
At the next update, memory contents might be colored light blue. This shows that
they changed at the previous update. Seeing the update depends on the memory
contents that you can see and where execution stops.
8. Click on the file tab for the source file
dhry_1.c
and locate
scanf
at line 124.
9. Double-click on
scanf
so that it is highlighted and then drag it to the Memory
pane where you can drop it into the display. This is a quick way to display a
chosen location in the Memory pane,
Use the Pane menu, or right-click in an address entry in the Memory pane, to
select the display format and modify the address range of the memory area that
you want to see.
You can change memory contents displayed in the Memory pane using in-place editing.