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

Function doDebugCommand

xs/platforms/zephyr/xsPlatform.c:350–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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