getinfo
Definition
-- @/=[C]:-1
function getinfo(...)
Callers
@/lua/common/utils/perf.lua
local function trace(event, line)
local s = debug.getinfo(2)
--log('D', 'luaperf', event .. ' = ' .. s.what..'_'..s.source..':'..s.linedefined)
@/lua/common/utils.lua
function addLevelLog(object, logLevel, origin, uniqueErrorCode, message)
local debugInfo = debug.getinfo(2)
if not object then
path.getCurrentPath = function()
local dirname, filename = path.split(debug.getinfo(2).short_src)
return dirname
@/lua/common/introspection.lua
if not key:match("^__") then
local info = debug.getinfo(value, "S")
local signature = key
@/lua/common/libs/StackTracePlus/StackTracePlus.lua
end
return debug.getinfo(thread, level, what)
end
elseif type(value) == "function" then
local info = self.getinfo(value, "nS")
local fun_name = info.name or m_known_functions[value] or m_user_known_functions[value]
local info = dumper.getinfo(level, "nSlf")
while info do
end
info = dumper.getinfo(level, "nSlf")
end
local info = dumper.getinfo(level, "nSlf")
while info do
end
info = dumper.getinfo(level, "nSlf")
end
@/lua/common/utils/calltracer.lua
local function trace(event, line)
local s1 = debug.getinfo(2)
local s2 = debug.getinfo(3)
local s1 = debug.getinfo(2)
local s2 = debug.getinfo(3)
@/lua/common/extensions.lua
if type(v) == 'function' then
local d = debug.getinfo(v)
local s = d.source
@/lua/ge/ge_utils.lua
function getFunctionParameters(func)
local f = debug.getinfo(func, 'u')
local parameters = {}
@/lua/ge/main.lua
local function trace_mem(event, line)
local s = debug.getinfo(2)
local m, _ = gcinfo()