MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / LogStackTrace

Function LogStackTrace

ogsr_engine/xrCore/xrDebugNew.cpp:85–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void LogStackTrace(const char* header, const bool dump_lua_locals)
86{
87 __try
88 {
89 if (auto pCrashHandler = Debug.get_crashhandler())
90 pCrashHandler(dump_lua_locals);
91 Log("********************************************************************************");
92 Msg("!![" __FUNCTION__ "] Thread: [%s]", GetThreadName());
93 Log(BuildStackTrace(header));
94 Log("********************************************************************************");
95 }
96 __finally
97 {}
98}
99
100void LogStackTrace(const char* header, _EXCEPTION_POINTERS* pExceptionInfo, bool dump_lua_locals)
101{

Callers 6

set_dest_positionMethod · 0.85
lua_game_objectMethod · 0.85
DbgLogExceptionFilterFunction · 0.85
gather_infoFunction · 0.85
UnhandledFilterFunction · 0.85

Calls 4

LogFunction · 0.85
MsgFunction · 0.85
BuildStackTraceFunction · 0.85
GetThreadNameFunction · 0.70

Tested by

no test coverage detected