<div dir="ltr">If you have a C-node built with Erl_interface you have an environment named DEBUG_LEVEL or something that will log messages to and from the Cnode.<div><br></div><div>/Kenneth</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 3:51 PM, David Welton <span dir="ltr"><<a href="mailto:davidnwelton@gmail.com" target="_blank">davidnwelton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This is surprisingly difficult. It seems that if there are two Erlang<br>
nodes, my code would probably work.  If there's a C node involved, it<br>
seems that replacing message sends/receives in the C code with<br>
something that does the proper logging is the best bet, as I don't<br>
think the Erlang runtime environment is up to the task: it simply does<br>
not know where messages come from.<br>
<br>
Wireshark has an Erlang distribution parser, which is pretty cool, but<br>
because of cacheing of atoms, it's not something you can just start up<br>
and have work, either, in terms of having a log of what was actually<br>
sent where.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
David N. Welton<br>
<br>
<a href="http://www.welton.it/davidw/" target="_blank">http://www.welton.it/davidw/</a><br>
<br>
<a href="http://www.dedasys.com/" target="_blank">http://www.dedasys.com/</a><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>