<div dir="ltr"><div>There is a known problem observed in unreleased Erlang R20, that I am working to have fixed soon, and the sympthoms are that some BIFs do not send trace messages for returns and exceptions. Some other BIFs do, though. I can not say when this problem appeared first, but it could be present in R19. Possibly related to recent changes in tracing.<br><br></div>This is fundamental problem (SOME execution paths of some BIFs do not have trace checks/reports in them), and i am on it.<br></div><br><div class="gmail_quote"><div dir="ltr">lör 10 sep. 2016 kl 00:38 skrev nato <<a href="mailto:nbartley@umail.iu.edu">nbartley@umail.iu.edu</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are BIFs such as `length/1` part of the erlang module, or do BIFs live<br>
somewhere else then get masqueraded ...<br>
<br>
I am trying to trace functions like these with dbg, and nothing is yielded.<br>
For example, I am trying the following with no success...<br>
<br>
1> dbg:tracer(), dbg:p(all, c).<br>
2> dbg:tpl(erlang, length, x).<br>
3> erlang:length( [] ). %% or simply `length([]).`<br>
<br>
Or, are my above dbg flags leaving the erlang module out... or... confused.<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>