W3cubDocs

/Haxe

CallStack

package haxe

Available on all platforms

Get information about the call stack.

Static variables

@:noCompletion static wrapCallSite:Dynamic ‑> Dynamic

Available on js

Static methods

@:has_untyped static callStack ():Array<StackItem>

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

@:has_untyped @:noDebug static 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 toString (stack:Array<StackItem>):String

Returns a representation of the stack as a printable string.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/CallStack.html