Aliases

  • getcallstack

Arguments

thread
The coroutine whose environment, script association, or stack is inspected.

Returns

{DebugInfo}
An array of DebugInfo records for the inspected thread’s call frames.
Result entries include func plus source/name/line/parameter fields; metadata depends on compilation settings. Related types: Debug types & behavior.

Example