Non-Confidential | ![]() | 101196_0100_03_en | ||
| ||||
Home > Iris APIs > Breakpoints API |
Clients manipulate breakpoints in an instance by using the breakpoint_set()
and breakpoint_delete()
functions.
Clients are encouraged to use the breakpoint_getList()
function to display all breakpoints, instead of maintaining their own list of breakpoints. This ensures that breakpoints that are set by other clients are visible to the user, and avoids the program stopping on breakpoints that are invisible and undeletable by the user. The use of breakpoint_getAdditionalConditions()
is exotic.
Breakpoints and breakpoint ids are specific to the target instance that contains them, not to the client that sets them.
The target instance implementation must ensure that after a breakpoint is hit, stopping the simulation time, it is not immediately hit again when resuming the simulation time, for example by implementing a micro step.
Instances that support the breakpoint interface must also support the event
interface. This allows clients to enable IRIS_BREAKPOINT_HIT
events
for an instance.
Debug accesses do not trigger breakpoints.
An IRIS_STATE_CHANGED
event is generated when a breakpoint list
changes.