11.2.1. Setting a breakpoint quickly

To set a simple breakpoint quickly:

  1. Connect to your target.

  2. Load the required image, for example dhrystone.axf.

  3. Click the tab for the required code view.

    For this example, click the dhry_1.c tab to view the source file dhry_1.c.

  4. Locate the source line or instruction in your code view where you want to set the breakpoint. For example, line 158 in dhry_1.c.

  5. Double-click on the margin to the left of the required source line or instruction. A simple breakpoint is set, as indicated by the red icon in the margin. Figure 11.2 shows an example:

    Figure 11.2. Breakpoint icon in the code view

    Breakpoint icon in the code view

See also

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0153N