MCPcopy Create free account
hub / github.com/Tencent/UnLua / PrintCallStack

Function PrintCallStack

Plugins/UnLua/Source/UnLua/Private/UnLuaDebugBase.cpp:715–723  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

713 }
714
715 void PrintCallStack(lua_State* L)
716 {
717 if (!L)
718 return;
719
720 luaL_traceback(L, L, "", 0);
721 UE_LOG(LogUnLua, Log, TEXT("%s"), UTF8_TO_TCHAR(lua_tostring(L,-1)));
722 lua_pop(L, 1);
723 }
724}

Callers 1

OnSystemErrorMethod · 0.85

Calls 1

luaL_tracebackFunction · 0.85

Tested by

no test coverage detected