debug. getcallstack Synchronous
getcallstack
Current thread by default.
Luau
debug.getcallstack(targetThread: thread?) -> {{func: Function, currentline: number?}}Parameters
| Parameter | Type |
|---|---|
targetThread | thread? |
Returns
{{func: Function, currentline: number?}}