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

Function fxDebugCommand

xs/sources/xsDebug.c:229–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void fxDebugCommand(txMachine* the)
230{
231 the->debugExit = 0;
232 the->debugModule = C_NULL;
233 while (fxIsConnected(the)) {
234 fxReceive(the);
235 fxDebugParse(the);
236 if ((the->debugState == XS_LF_STATE) && (the->debugExit > 0))
237 break;
238 }
239 mxHostInspectors.value.list.first = C_NULL;
240 mxHostInspectors.value.list.last = C_NULL;
241#if MODDEF_XS_XSBUG_HOOKS
242 if (the->debugTag == XS_IMPORT_TAG)
243 fxQueueJob(the, 2, C_NULL);
244 else if (the->debugTag == XS_SCRIPT_TAG)
245 fxQueueJob(the, 6, C_NULL);
246#endif
247}
248
249void fxDebugEval(txMachine* the, txSlot* frame, txString buffer, txInteger index)
250{

Callers 12

xsRun.cFile · 0.85
fxLoginFunction · 0.85
fxReadableCallbackFunction · 0.85
fxMessageWindowProcFunction · 0.85
fxReadableCallbackFunction · 0.85
doDebugCommandFunction · 0.85
doDebugCommandFunction · 0.85
doDebugCommandFunction · 0.85
doDebugCommandFunction · 0.85
doDebugCommandFunction · 0.85
doDebugCommandFunction · 0.85
doDebugCommandFunction · 0.85

Calls 4

fxDebugParseFunction · 0.85
fxQueueJobFunction · 0.85
fxIsConnectedFunction · 0.70
fxReceiveFunction · 0.70

Tested by

no test coverage detected