Skip to main content

IAR Embedded Workbench for RL78 5.20

__setCodeHWBreak

In this section:
Syntax
__setCodeHWBreak(location)
Parameters
location

A string that defines the code location of the breakpoint, either a valid C-SPY expression whose value evaluates to a valid address, an absolute location, or a source location. For more information about the location types, see Enter Location dialog box.

Return value

Result

Value

Successful

An unsigned integer uniquely identifying the breakpoint. This value must be used to clear the breakpoint.

Unsuccessful

0

Table 40. __setCodeHWBreak return values


For use with

The C-SPY hardware debugger drivers.

Description

Sets a code hardware breakpoint, that is, a breakpoint that is triggered just before the processor fetches an instruction at the specified location.

Example
__setCodeHWBreak("{D:\\src\\prog.c}.12.9");
See also

Code hardware breakpoints.