Lua.VM.Stdlib.Debug (Lua v1.0.0-rc.0)
View SourceLua 5.3 debug standard library.
Provides introspection and debugging facilities. Many functions are stubs that return plausible values since full debug support is not needed for most embedded use cases.
Functions
debug.getinfo(f [, what])- Returns info about a functiondebug.traceback([message [, level]])- Returns a traceback stringdebug.getmetatable(obj)- Returns metatable bypassing __metatabledebug.setmetatable(obj, mt)- Sets metatable bypassing __metatabledebug.getlocal(level, local)- Stub returning nildebug.setlocal(level, local, value)- Stub returning nildebug.sethook([hook, mask [, count]])- Stub no-opdebug.gethook([thread])- Stub returning nildebug.getupvalue(f, up)- Stub returning nildebug.setupvalue(f, up, value)- Stub returning nildebug.upvalueid(f, n)- Stub returning nil