| |||
| Home > Getting Started with RealView Debugger > Setting a simple breakpoint > Procedure | |||
To set a simple breakpoint:
Select
the Sources entry in the Process Control pane.
Type the characters dh. The source
file dhry.h is selected.
Double-click on the source file dhry_1.c.
The source file is opened.
Click Locate PC in the Debug toolbar. The PC is located in the source file, shown in Figure 3.7.
Scroll down until line 149 is visible.
Double-click in the gray margin at line 149. A simple breakpoint is set at line 149, as indicated by a red circle shown in Figure 3.8.
Because the breakpoint location is in RAM, RealView Debugger sets a software breakpoint.
Run the image.
Chapter 11 Setting Breakpoints in the RealView Debugger User Guide.