MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / stackWalkToErr

Function stackWalkToErr

src/simulate/simulate_exceptions.cpp:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16namespace das {
17 static void stackWalkToErr(Context & ctx, const LineInfo & at, bool showArguments, bool showLocalVariables) {
18 const das::string stack = ctx.getStackWalk(&at, showArguments, showLocalVariables);
19 ctx.to_err(&at, stack.c_str());
20 }
21
22 void Context::throw_fatal_error ( const char * message, const LineInfo & at ) {
23 exceptionMessage = message ? message : "";

Callers 1

throw_fatal_errorMethod · 0.85

Calls 2

getStackWalkMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected