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

Ahmed Ali <>
Sat Aug 16 18:40:08 CEST 2008

Hi Richard,

How about if I compiled the source with debugging enabled? Isn't this
information supposed to be there (along with function name and other

/Ahmed Al-Issaei

On Fri, Aug 15, 2008 at 11:05 PM, Richard Carlsson <> wrote:
> devdoer bird wrote:
>> How can I do this without macro? I know python supply some tools to
>> determine the line number in run time,like inspect module.
> There is currently no support for that in Erlang.
>    /Richard
> _______________________________________________
> erlang-questions mailing list
> http://www.erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list