Line numbers in stack traces

Bjorn Gustavsson bjorn@REDACTED
Tue Aug 9 10:00:02 CEST 2005


Richard Cameron <camster@REDACTED> writes:
> 
> Have I missed the command line option which does this, or is there
> some good reason why it's difficult for the virtual machine to report
> on this information (some obscure consequence of the way it compiles
> tail-recursive functions?)

No, there is no command line option.

Yes. There is a good reason. The virtual machine has no information about
line numbers. It would be possible for the virtual machine to give you information
about the exact address where the error occurred, but it would be hard
to use that information.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list