compiler options
Siri Hansen
siri@REDACTED
Tue Apr 30 08:47:05 CEST 2002
Hi Vlad!
You don't need a compiler directive to trace local calls. Try the
using the 'local' flag with erlang:trace_pattern/3, or if using dbg,
try dbg:tpl(...) instead of dbg:tp(...).
Regards
/siri
Vlad Dumitrescu wrote:
> Hi, good people!
>
> The recent discussions about compiler warnings and such, revived a question
> that I think might be interesting for others too.
>
> I find the trace mechanism very useful, but am frustrated that it only works
> for tracing external calls... Wouldn't it be a nice feature (or maybe it is
> just undocumented?) to have a compiler directive "-compile(remote_calls)."
> or something that will make all local function calls to get compiled as if
> they were remote? This way one could trace local calls without having to
> change the code.
>
> best regards,
> Vlad
>
> _________________________________________________________________
> MSN Foto är det enklaste sättet att dela eller skaffa papperskopior av dina
> foton: http://photos.msn.com/support/worldwide.aspx
More information about the erlang-questions
mailing list