Hej,
I can’t really understand what is the difference between the callStack and the exceptionStack when an exception is thrown.
ExceptionStack seems to have more details, is it the right thing to look at when debugging please ?
I’ve seen the doc but its not clear for me :
callStack():Array<StackItem>
Return the call stack elements, or an empty array if not available.
exceptionStack(fullStack:Bool = false):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. Set fullStack
parameter to true in order to return the full exception stack.
May not work if catch type was a derivative from haxe.Exception
.