MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / doDebugCommand

Function doDebugCommand

xs/platforms/pico/xsPlatform.c:357–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void doDebugCommand(void *machine, void *refcon, uint8_t *message, uint16_t messageLength)
358{
359 txMachine* the = machine;
360
361 the->debugNotifyOutstanding = false;
362 if ((txSocket)NULL == the->connection)
363 return;
364 else if (kSerialConnection == the->connection) {
365 if (!the->debugFragments)
366 return;
367 }
368 else {
369 if (!the->readers[0])
370 return;
371 }
372
373 fxDebugCommand(the);
374 if (the->breakOnStartFlag) {
375 fxBeginHost(the);
376 fxDebugger(the, (char *)__FILE__, __LINE__);
377 fxEndHost(the);
378 }
379}
380
381void fxReceiveLoop(void)
382{

Callers

nothing calls this directly

Calls 4

fxDebugCommandFunction · 0.85
fxBeginHostFunction · 0.85
fxDebuggerFunction · 0.85
fxEndHostFunction · 0.85

Tested by

no test coverage detected