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 1. Return Values
Return value Description

true

Debugger is connected to the system

false

Debugger is not connected to the system