A.7.7 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 one of the CADI_EXECMODE_* constants.

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.


The modeChange(CADI_EXECMODE_ResetDone) callback is identical to the legacy CADICallbackObj::reset() callback.

Targets must support both callbacks to maintain backwards compatibility.

ARM recommends using modeChange(CADI_EXECMODE_ResetDone) in client code because a future version of CADI is to deprecate the reset() callback.

Non-ConfidentialPDF file icon PDF versionARM 100963_0200_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.