class haxe.CallStack

Get informations about the call stack.

Class Fields

static function callStack(): Array<StackItem>

Return the call stack elements, or an empty array if not available.

static function exceptionStack(): Array<StackItem>

Return the exception stack : this is the stack elements between the place the last exception was thrown and the place it was caught, or an empty array if not available.

static function toString(stack:Array<StackItem>): String

Returns a representation of the stack as a printable string.