Line numbers in stack traces

David Hopwood david.nospam.hopwood@REDACTED
Tue Aug 9 14:19:21 CEST 2005


Bjorn Gustavsson wrote:
> 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.

Isn't that a design limitation of the virtual machine code format?
I think language VMs should be designed to allow this at least in a
debugging mode.

-- 
David Hopwood <david.nospam.hopwood@REDACTED>




More information about the erlang-questions mailing list