local p = {} local ct = 0 p.test = function () s = "" for k,v in pairs(debug) do s = s .. k .. "\n" end return debug.traceback() --return debug.getinfo(1, "SI") end function p.counter() ct = ct + 1 return ct end return p