Download ARM Debugger Version 1.6 User's Manual

Transcript
Getting Started with RealView Debugger
8.
3.5.2
To start execution either:
•
Select Debug → Execution Control → Go (Start Execution) from the
main menu.
•
Click the Go button on the Actions toolbar.
9.
Enter the required number of runs, for example 50000.
10.
Monitor execution until the breakpoint is reached.
11.
Click Go again and monitor the programas execution continues.
Code views
Use the File Editor pane to view source code during your debugging session. In the
example shown in Figure 3-5 on page 3-11, the File Editor pane contains three tabs:
•
the Dsm tab enables you to track program execution in the disassembly-level
view
•
the Src tab enables you to track program execution in the source-level view
•
the file tab dhry_1.c shows the name of the current source file in the editing, or
non-execution, view.
Click on the relevant tab to toggle between the different code views.
3.5.3
Viewing target status
The State group, on the Actions toolbar, shown in Figure 3-5 on page 3-11, enables you
to see the current state of your debug target:
ARM DUI 0181B
Unknown
Shows that the current state of the target is unknown to the debugger. For
example it might have been running when the connection was established
or it might be disconnected.
Stopped
Shows that the target is connected but any image loaded is not executing.
Running
Shows that an image is executing. In this case, a running progress
indicator is also included.
Copyright © 2002 ARM Limited. All rights reserved.
3-15