MCPcopy Create free account
hub / github.com/JoaoLopesF/RemoteDebug / initDebugger

Method initDebugger

src/RemoteDebug.cpp:299–308  ·  view source on GitHub ↗

Simple software debugger - based on SerialDebug Library

Source from the content-addressed store, hash-verified

297#ifdef DEBUGGER_ENABLED
298// Simple software debugger - based on SerialDebug Library
299void RemoteDebug::initDebugger(boolean (*callbackEnabled)(), void (*callbackHandle)(const boolean), String (*callbackGetHelp)(), void (*callbackProcessCmd)()) {
300
301 // Init callbacks for the debugger
302
303 _callbackDbgEnabled = callbackEnabled;
304 _callbackDbgHandle = callbackHandle;
305 _callbackDbgHelp = callbackGetHelp;
306 _callbackDbgProcessCmd = callbackProcessCmd;
307
308}
309
310WiFiClient* RemoteDebug::getTelnetClient() {
311

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected