20.6.2.11.1 Function system_is_debugger_present()

Check if debugger is present.

bool system_is_debugger_present( void )

Check if debugger is connected to the onboard debug system (DAP).

Returns

A bool identifying if a debugger is present.

Table 20-30. Return Values
Return valueDescription

true

Debugger is connected to the system

false

Debugger is not connected to the system