MCPcopy Create free account
hub / github.com/assaultcube/AC / dumpexecutionstack

Function dumpexecutionstack

source/src/command.cpp:1737–1746  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1735}
1736
1737void dumpexecutionstack(stream *f)
1738{
1739 if(f && executionstack.length())
1740 {
1741 f->printf("cubescript execution stack (%d levels)\n", executionstack.length());
1742 if(curcontext) f->printf(" cubescript context: %s %s\n", curcontext, curinfo ? curinfo : "");
1743 loopvrev(executionstack) f->printf("%4d: %s\n", i + 1, executionstack[i]);
1744 f->fflush();
1745 }
1746}
1747
1748void cslimiterr(const char*msg)
1749{

Callers 1

cleanupFunction · 0.85

Calls 4

loopvrevFunction · 0.70
lengthMethod · 0.45
printfMethod · 0.45
fflushMethod · 0.45

Tested by

no test coverage detected