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

Function fxTraceID

xs/sources/xsRun.c:334–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332#endif
333
334static void fxTraceID(txMachine* the, txID id, txIndex index)
335{
336 if (id) {
337 char* key = fxGetKeyName(the, id);
338 if (key)
339 fprintf(stderr, " [%s]", key);
340 else
341 fprintf(stderr, " [?]");
342 }
343 else
344 fprintf(stderr, " [%d]", (int)index);
345}
346
347static void fxTraceIndex(txMachine* the, txU2 theIndex)
348{

Callers 2

fxRunIDFunction · 0.85
xsRun.cFile · 0.85

Calls 1

fxGetKeyNameFunction · 0.85

Tested by

no test coverage detected