|Home > Class Reference > CADICallbackObj class > CADICallbackObj::modeChange()|
This method reports a mode change from the target to the debugger.
virtual void CADICallbackObj::modeChange(uint32_t newMode, CADIBptNumber_t bptNumber) = 0;
is the breakpoint number. This value is used if the debugger has an action associated with a particular breakpoint. Temporary breakpoints, for example, might run a script after the breakpoint was hit.
This parameter can be ignored for all mode changes not related to a breakpoint.
modeChange(CADI_EXECMODE_ResetDone) callback is identical to the legacy
Targets must support both callbacks to maintain backwards compatibility.
ARM recommends using
client code because a future version of CADI is to deprecate the