Quick-start Tutorial

81 }/* Proc_7 */

4.Right-click on the line number and select Set Break... from the context menu to display the Set Address/Data Break/Tracepoint dialog box shown in Figure 4-12.

If the line number is not visible, then right-click inside the gray area at the left of the required statement or on the line of code to display the context menu.

Figure 4-12 Set Address/Data Break/Tracepoint dialog box

Because you are using ARMulator to simulate an ARM7TDMI processor, the breakpoint types available are limited. A software instruction breakpoint is highlighted and the Location field is prefilled.

Depending on the Break/Tracepoint Type you select, the Location or the Value

Match field might be unavailable. In this case, the field is grayed out.

5.Click New to specify the Qualifiers or conditions for the new breakpoint. This displays the New Qualifiers menu.

6.Select When Expression True... from the menu.

7.Enter the condition Int_Glob==5 in the prompt.

8.Click Set to confirm the entry and close the prompt box.

The breakpoint condition is shown in the Qualifiers group display.

4-24

Copyright © 2002 ARM Limited. All rights reserved.

ARM DUI 0181B

Page 66
Image 66
ARM Version 1.6 manual Select When Expression True... from the menu, Set Address/Data Break/Tracepoint dialog box