MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / getDebugEvent

Function getDebugEvent

emmy_debugger/src/api/lua_api_loader.cpp:145–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145int getDebugEvent(lua_Debug* ar)
146{
147 switch (luaVersion)
148 {
149 case LuaVersion::LUA_JIT:
150 case LuaVersion::LUA_51:
151 return ar->u.ar51.event;
152 case LuaVersion::LUA_52:
153 return ar->u.ar52.event;
154 case LuaVersion::LUA_53:
155 return ar->u.ar53.event;
156 case LuaVersion::LUA_54:
157 return ar->u.ar54.event;
158 case LuaVersion::LUA_55:
159 return ar->u.ar55.event;
160 default:
161 assert(false);
162 return 0;
163 }
164}
165
166int getDebugCurrentLine(lua_Debug* ar)
167{

Callers 2

HookMethod · 0.50
ProcessHookMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected