Open IBwWG opened 8 years ago
Or maybe it's more that stacks get output upside-down, at least compared with, e.g., HaxeDevelop's stack panel (with the latest frame on top.)
That seems to be due to the different stack order based on the targets - and report.php takes the line number from the first line of the stack entry
It's different for different targets? I thought it was more or less a conventional standard...as the name "stack" suggests visually, even though that's opposite of just printing the array from 0 onwards. (They don't call them "hanging vine traces", eh? ;) )
I'm not 100% sure when or what specific options it's based on, but yeah, the current report.php version for example works for me. But I also remember that others devs had the line numbers the other way around based on IDE or maybe targets. So hardcoding it one way or the other is going to break it for somebody else
Ah, OK, so there isn't as much of a standard as I thought. Nonetheless I'd leave this as a feature request, then, to be able to set the order to one's preference (without breaking the line number part.)
At least, in my opinion. E.g.
Currently I think it would make sense to display
crashOnPurpose
rather than__pollTimers
, since a heck of a lot of stack traces would start with that.