MCPcopy Create free account
hub / github.com/crownengine/crown / debugOutputCallstack

Function debugOutputCallstack

3rdparty/bx/src/debug.cpp:1151–1161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1149#endif // BX_CONFIG_CALLSTACK_*
1150
1151 void debugOutputCallstack(uint32_t _skip)
1152 {
1153 char temp[8192];
1154 StaticMemoryBlockWriter smb(temp, BX_COUNTOF(temp) );
1155
1156 uintptr_t stack[32];
1157 const uint32_t num = getCallStackExact(_skip + 1 /* skip self */, BX_COUNTOF(stack), stack);
1158 const int32_t total = writeCallstack(&smb, stack, num, ErrorIgnore{});
1159
1160 write(getDebugOut(), temp, total, ErrorIgnore{});
1161 }
1162
1163#if BX_CONFIG_EXCEPTION_HANDLING_USE_POSIX_SIGNALS
1164 struct SignalInfo

Callers

nothing calls this directly

Calls 4

getCallStackExactFunction · 0.85
writeCallstackFunction · 0.85
getDebugOutFunction · 0.85
writeFunction · 0.70

Tested by

no test coverage detected