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

SFEX.debug.traceback

S๐Ÿท๏ธ Debug

Part of StarfallEx namespace

๐Ÿ”— External
debug.traceback(thread, message, stacklevel)
View on GitHub|lua/starfall/libs_sh/builtins.lua:1034
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

GLua's debug.traceback() Returns a string containing a stack trace of the given thread

Parameters

NameTypeDescription
A?threadthread to get the stack trace of. If nil, this argument will be used as the message and the current thread becomes the target.
message?stringA message to be included at the beginning of the stack trace. Default: ""
stacklevel?numberWhich position in the execution stack to start the traceback at. Default: 1

Returns

TypeDescription
stringA dump of the execution stack.

Examples

No examples available.

Used In

No usages found in the codebase.