
CSE8E10-2
22
Using breakpoints
IAR C-SPY® Hardware Debugger Systems
User Guide
Break At
Specify the location of the breakpoint in the Break At text box. Alternatively, click the
Edit browse button to open the Enter Location dialog box; see the IAR Embedded
Workbench® IDE User Guide.
Action
You can optionally connect an action to a breakpoint. Specify an expression, for instance
a C-SPY macro function, which is evaluated when the breakpoint is triggered and the
condition is true.
Conditions
You can specify simple and complex conditions.
When a software code breakpoint is set in the internal flash ROM of the target
microcomputer, a number of instructions must be rewritten and processed every time it
is triggered, which makes software code breakpoints slow.
THE BREAK CONDITION DIALOG BOX
To set a data breakpoint, right-click in the View>Breakpoints window. On the context
menu, choose New Breakpoint>Break Condition to set a new break condition.
Alternatively, to modify an existing break condition, select one in the Breakpoint
window and choose Edit on the context menu.
Conditions Description
Expression A valid expression conforming to the C-SPY expression syntax.
Condition true The breakpoint is triggered if the value of the expression is true.
Condition changed The breakpoint is triggered if the value of the expression has changed
since it was last evaluated.
Skip count The number of times that the breakpoint must be fulfilled before a break
occurs (integer).
Table 10: Software breakpoint conditions
Comentários a estes Manuais