| 97 | } |
| 98 | |
| 99 | String DebugLog::GetStackTrace() |
| 100 | { |
| 101 | String result; |
| 102 | #if USE_CSHARP |
| 103 | if (!CacheMethods()) |
| 104 | { |
| 105 | auto stackTraceObj = Internal_GetStackTrace->Invoke(nullptr, nullptr, nullptr); |
| 106 | MUtils::ToString((MString*)stackTraceObj, result); |
| 107 | } |
| 108 | #endif |
| 109 | return result; |
| 110 | } |
| 111 | |
| 112 | void DebugLog::ThrowException(const char* msg) |
| 113 | { |
nothing calls this directly
no test coverage detected