Part of StarfallEx namespace
๐ External
debug.traceback(thread, message, stacklevel)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
GLua's debug.traceback() Returns a string containing a stack trace of the given thread
Parameters
| Name | Type | Description |
|---|---|---|
A? | thread | thread to get the stack trace of. If nil, this argument will be used as the message and the current thread becomes the target. |
message? | string | A message to be included at the beginning of the stack trace. Default: "" |
stacklevel? | number | Which position in the execution stack to start the traceback at. Default: 1 |
Returns
| Type | Description |
|---|---|
string | A dump of the execution stack. |
Examples
No examples available.
Used In
No usages found in the codebase.