[erlang-questions] Displaying the line number when error occured
Mon May 21 09:08:27 CEST 2007
> When an error occurs how do you find the location in the source
> file(without the information of source line number)? What is the
> conventional way in Erlang?
There is no built-in way to get the source line number of an error.
If you write small functions, the error report is usually sufficient.
Otherwise, there is a tool called smart_exceptions in jungerl, which
is a parse transform that does what you want.
More information about the erlang-questions