Skip to content

getstack

Description:

This function demonstrates the usage of the getstack API.

Example:

-- Get the stack of a thread
local stack = getstack(some_thread)

print("Thread stack: " .. tostring(stack))