
CSE8E10-2
20
Using breakpoints
IAR C-SPY® Hardware Debugger Systems
User Guide
CODE BREAKPOINTS
If you set a code breakpoint, a default breakpoint will be set. If your driver supports
hardware breakpoints, the debugger will first use any available hardware breakpoints
before using software breakpoints.
THE EXECUTION ADDRESS BREAKPOINT DIALOG BOX
To set a hardware breakpoint, right-click in the Breakpoints window and choose New
Breakpoint>Address on the context menu. To modify an existing breakpoint, select it
in the Breakpoints window and choose Edit on the context menu.
The Execution Address Breakpoint dialog box appears.
Figure 16: The Execution Address Breakpoint dialog box
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.
Komentáře k této Příručce