đDebug Library
Get Constants:
Returns the constants in function
f
or at levelf
.
Get Constant:
Returns the constant at index
idx
in functionf
or levelf
.
Set Constant:
Set constant
idx
to tuplevalue
at level or functionf
.
Get Upvalues:
Retrieve the upvalues in function
f
or at levelf
.
Get Upvalue:
Returns the upvalue with name
idx
in function or levelf
.
Set Upvalue:
Set upvalue
idx
tovalue
at level or functionf
.
Get Proto:
Gets the inner
function
off
atindex
.
Set Proto:
Replaces
fi
atindex
with functionreplacement
at level or functionfi
.
Get Stack:
Gets the method stack at level or function
f
.
Set Stack:
Sets the stack indice at
indice
tovalue
at level or functionf
.
Set Metatable:
Set the metatable of
o
tomt
.
Get Registry:
Returns the Lua registry.
Get Info:
Returns a table of information about function
f
.
Info:
Name | Type | Description |
---|---|---|
name | String | The name of the function. |
short_src | String | A shorter version of source. |
what | String | What the function is: Lua = Lua function - C = C function |
currentline | Integer | The line that is currently active. |
nups | Integer | The number of upvalues that the function has. |
func | Function | The function that is active. |
source | String | Where the function was defined. |
Last updated