Skip to main content

IAR Embedded Workbench for RISC-V 3.40

__setTraceStopBreak

In this section:
Syntax
__setTraceStopBreak(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. The same value must be used when you want to clear the breakpoint.

Unsuccessful

int 0

Table 45. __setTraceStopBreak return values 


For use with

The C-SPY simulator.

The C-SPY I-jet driver and a device that supports trace.

Description

Sets a breakpoint at the specified location. When that breakpoint is triggered, the trace system is stopped.

Example

See __setTraceStartBreak.

See also

Trace Stop Trigger breakpoint dialog box.