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

Function doDebugCommand

xs/platforms/gecko/xsPlatform.c:233–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231}
232
233static void doDebugCommand(void *machine, void *refcon, uint8_t *message, uint16_t messageLength)
234{
235 txMachine* the = machine;
236
237 the->debugNotifyOutstanding = false;
238
239 if (!the->debugFragments || !the->debugOnReceive)
240 return;
241
242 fxDebugCommand(the);
243 if (the->breakOnStartFlag) {
244 fxBeginHost(the);
245 fxDebugger(the, (char *)__FILE__, __LINE__);
246 fxEndHost(the);
247 }
248}
249
250void fxReceiveLoop(void)
251{

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