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

Function doDebugCommand

xs/platforms/esp/xsPlatform.c:745–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

743}
744
745void doDebugCommand(void *machine, void *refcon, uint8_t *message, uint16_t messageLength)
746{
747 txMachine* the = machine;
748
749 the->debugNotifyOutstanding = false;
750 if (NULL == the->connection)
751 return;
752 else if (kSerialConnection == the->connection) {
753 if (!the->debugFragments)
754 return;
755 }
756 else {
757 if (!the->readers[0])
758 return;
759 }
760
761 fxDebugCommand(the);
762 if (the->breakOnStartFlag) {
763 fxBeginHost(the);
764 fxDebugger(the, (char *)__FILE__, __LINE__);
765 fxEndHost(the);
766 }
767}
768
769void fxReceiveLoop(void)
770{

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