sim.getStackTraceback

Lua only. Retrieves and clears the last generated stack traceback for a script

Synopsis

string stackTraceback = sim.getStackTraceback(int scriptHandle)

Arguments

  • scriptHandle: the script handle from which the traceback is desired. If omitted, then the calling script's traceback will be retrieved and cleared.

Return values

  • stackTraceback the stack traceback


See also: