| 83 | } |
| 84 | |
| 85 | void 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 | |
| 100 | void LogStackTrace(const char* header, _EXCEPTION_POINTERS* pExceptionInfo, bool dump_lua_locals) |
| 101 | { |
no test coverage detected