[erlang-questions] Getting rid of the preprocessor

Vlad Dumitrescu vladdu55@REDACTED
Thu May 24 23:09:18 CEST 2012


Hi,

On Thu, May 24, 2012 at 10:42 PM, alisdair sullivan
<alisdairsullivan@REDACTED> wrote:
> you could compile using 'P' or 'E' to get a source listing after
> preprocessing, compile that and debug from that source. not optimal, but
> better than not having source at all

Yes, that is an option that helps when debugging. It's not useful for
keeping track of all the places a function is called from, for
example, so that one can rename it. It doesn't make parsing the
original source easier, either.

best regards,
Vlad



More information about the erlang-questions mailing list