[erlang-patches] Attempt at making stacktraces more readable
Mon May 6 10:27:13 CEST 2013
On 05/05/2013 03:45 PM, Anthony Ramine wrote:
> When an error isn't caught by a catch expression, the VM sends the faulty stacktrace as a string with a small message to the error logger. As it is already a string representation and not the stacktrace itself, the result may as well be readable and human-friendly. This is an attempt at making exactly this.
> I have no idea how this will be received by the community, I'm just trying to spark a discussion about how we could improve the way stacktraces are currently printed.
> To choose a format, Rosetta Code was my main source of inspiration .
> git fetch https://github.com/nox/otp.git better-error-reports
>  http://rosettacode.org/wiki/Stack_traces
Your patch has been sent to be reviewed since it's significant changes
to the stacktrace. You will be updated of the outcome.
BR Fredrik Gustafsson
Erlang OTP Team
More information about the erlang-patches