__setCodeHWBreak
In this section:
Syntax
__setCodeHWBreak(location)
Parameters
locationA 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 |
|
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");