12.11.1. Summary of breakpoint behavior

Table 12.1 summarizes the breakpoint behavior for various combinations of the command qualifiers.

Table 12.1. Breakpoint behavior with multiple condition qualifiers and actions

Command qualifiersMacro return valueMacro executedMessage printedBreakpoint details recorded
,message:{"Actions performed"},passcount:5
  After five passesAfter five passes
,passcount:5,message:{"Actions performed"}
  After five passesAfter five passes
,message:{"Actions performed"}
,passcount:5,continue
  After five passesNever
,passcount:5,message:{"Actions performed"}
,continue
  After five passesNever
,macro:{viewSymbol()},passcount:5
,message:{"Actions performed"}
0 (stop)After every passAfter five passesAfter five passes
,passcount:5,macro:{viewSymbol()}
,message:{"Actions performed"}
0 (stop)After five passesAfter five passesAfter five passes
,macro:{viewSymbol()},passcount:5
,message:{"Actions performed"},continue
0 (stop)After every passAfter five passesNever
,passcount:5,macro:{viewSymbol()}
,message:{"Actions performed"},continue
0 (stop)After five passesAfter five passesNever
,macro:{viewSymbol()},passcount:5
,message:{"Actions performed"}
nonzero (continue)After every passNeverNever
,passcount:5,macro:{viewSymbol()} ,message:{"Actions performed"}nonzero (continue)After five passesNeverNever
,macro:{viewSymbol()},passcount:5 ,message:{"Actions performed"},continuenonzero (continue)After every passNeverNever
,passcount:5,macro:{viewSymbol()} ,message:{"Actions performed"},continuenonzero (continue)After five passesNeverNever

Messages similar to the following are displayed when a breakpoint is recorded:

    Stopped at 0x00008490 due to SW Instruction Breakpoint
    Stopped at 0x00008490: DHRY_1\main Line 153

From Table 12.1 you can see that:

Note

The continue action qualifier and a macro nonzero value result in different behavior. Although both inhibit the display of the breakpoint details, actions are never performed when a macro returns a nonzero value.

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