Re: Should crash be the top of ex.err?
- Posted by dcuny Jan 26, 2015
- 1493 views
Another option would be to place the error message that crash() at the head of the stack trace, like so:
crash() generated an exception in [MY_PATH]\parameter_queue.e:77 in function get_value() Unable to find parameter in queue pitch for position 50400 C:\Euphoria\include\std\error.e:50 in procedure crash() Unable to find parameter in queue pitch for position 50400 fmt = {...} data = {...} msg = {...} ... called from [MY_PATH]\parameter_queue.e:77 in function get_value() {15120,16379,110'n',110'n',7,1259,0}, ...
The stack trace is still complete, but it's clear where the exception was called from.
- David