package haxe
Available on all platforms
Get information about the call stack.
staticcallStack():Array<StackItem>Return the call stack elements, or an empty array if not available.
staticexceptionStack():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.
May not work if catch type was a derivative from haxe.Exception.
statictoString(stack:CallStack):StringReturns a representation of the stack as a printable string.
read onlylength:IntThe length of this stack.
inlinecopy():CallStackMake a copy of the stack.
inlineget(index:Int):StackItemsubtract(stack:CallStack):CallStackReturns a range of entries of current stack from the beginning to the the common part of this and stack.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/CallStack.html