LuaScript Xojo Plugin |

# LuaScriptContext.GetStackTrace Method

Gets stack trace of the current code execution.

GetStackTrace() as LuaScriptStackTraceRecord()

#### Parameters

#### Returns

LuaScriptStackTraceRecord()
  Array of LuaScriptStackTraceRecord

#### Remarks

This feature is somewhat experimental. The Lua stack didn’t quite return as much as we wanted or expected to get.

#### See Also

LuaScriptContext Class