Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.debug.getinfo

S๐Ÿท๏ธ Debug

Part of StarfallEx namespace

๐Ÿ”— External
debug.getinfo(funcOrStackLevel, fields)
View on GitHub|lua/starfall/libs_sh/builtins.lua:1060
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

GLua's debug.getinfo() Returns a DebugInfo structure containing the passed function's info https://wiki.facepunch.com/gmod/Structures/DebugInfo

Parameters

NameTypeDescription
funcOrStackLevelfunction|numberFunction or stack level to get info about. Defaults to stack level 0.
fields?stringA string that specifies the information to be retrieved. Defaults to all (flnSu).

Returns

TypeDescription
tableDebugInfo table

Examples

No examples available.

Used In

No usages found in the codebase.