11.8. Setting a breakpoint that depends on the result of a macro

You can create macros that check the values of symbols in your application, or display information about your application during execution. Therefore, by attaching macros to breakpoints you can set up complex conditions or monitor your application at specific points during execution.

The return value from the macro determines whether execution continues or stops when the breakpoint activates. See Example of breakpoint behavior for details on how the macro return value affects the behavior of a breakpoint.

You can attach a macro to a breakpoint using the following methods:

Copyright © 2002-2006 ARM Limited. All rights reserved.ARM DUI 0153H
Non-Confidential