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

Function doDebugCommand

xs/platforms/pebble/xsPlatform.c:202–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void doDebugCommand(modTimer timer, void *refcon, int refconSize)
203{
204 txMachine* the = *(txMachine **)refcon;
205
206 if (!((ModdablePebbleAppState)the->state)->debugFragments)
207 return;
208
209 fxDebugCommand(the);
210 if (the->breakOnStartFlag) {
211 fxBeginHost(the);
212 fxDebugger(the, (char *)__FILE__, __LINE__);
213 fxEndHost(the);
214 }
215}
216
217void xsbug_protocol_msg_callback(CommSession *session, const uint8_t* msg, size_t length)
218{

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