MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetStackTrace

Method GetStackTrace

Source/Engine/Debug/DebugLog.cpp:99–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99String 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
112void DebugLog::ThrowException(const char* msg)
113{

Callers

nothing calls this directly

Calls 3

CacheMethodsFunction · 0.85
ToStringFunction · 0.50
InvokeMethod · 0.45

Tested by

no test coverage detected