[erlang-questions] idea: service pack one

Thomas Lindgren <>
Wed Nov 14 09:40:07 CET 2007


--- Jack Orenstein <> wrote:
> Related to this: stacks with line numbers (at least
> for the topmost
> frame) would be a big improvement.

The smart_exceptions parse transform does a bit of
this, but that approach is limited for various
technical reasons. I'd also like:

- function names associated with raised exceptions
- line numbers for undef calls, bad funs, etc
- line numbers and variable info for the stack (even
if tail recursion makes this incomplete)
- line numbers etc. for exceptions when building
binaries

In short, enriched context information should be
available wherever exceptions can be raised. This info
should be present in, or accessible from, the
'exception object' or exception reason itself.

Best,
Thomas



      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ



More information about the erlang-questions mailing list