[erlang-questions] How to get the line number of current executable code?

Thomas Lindgren thomasl_erlang@REDACTED
Sun Aug 17 14:14:24 CEST 2008


--- On Sat, 8/16/08, Richard Carlsson <richardc@REDACTED> wrote:
> I hope some day someone will find the time to make the
> compiler
> propagate the line number information into a mapping table
> that could
> be included in the beam file at all times, even if the file
> was not
> compiled with debugging enabled. That would make it
> possible to give
> much nicer stacktraces.

Indeed. Doing this might be a bit finicky but it's very helpful. The usual scripting language suspects already provide such stack traces, by the way.

Best,
Thomas



      



More information about the erlang-questions mailing list