MCPcopy Create free account
hub / github.com/Norbyte/bg3se / LuaGetStackDepth

Function LuaGetStackDepth

BG3Extender/Lua/Debugger/LuaDebugger.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 int LuaGetStackDepth(lua_State* L)
70 {
71 int depth = 0;
72 for (auto ci = L->ci; ci != &L->base_ci; ci = ci->previous) {
73 depth++;
74 }
75
76 return depth;
77 }
78
79 void LuaToProtobuf(lua_State* L, int idx, MsgValue* value)
80 {

Callers 2

IsBreakpointMethod · 0.85
TriggerBreakpointMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected