<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Greetings,<br class=""><br class="">Provided that you have started a receiver (ex: dbg:tracer()) you will then see any message sent to ‘<font face="Helvetica Neue, Helvetica, Arial, sans-serif" class="">registered_name’ printed in the Erlang shell.<br class=""><br class="">Example of printout (the lines starting with </font><span style="font-family: Monaco; font-size: 10px;" class="">(<0.69.0>))</span><font face="Helvetica Neue, Helvetica, Arial, sans-serif" class="">:<br class=""></font><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">2> dbg:tracer().</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">{ok,<0.66.0>}</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">3> procslinked:starter().</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Receive init_done from P1</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">{<0.69.0>,okbeud}</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">4> dbg:p(pidfirstp, [m]).</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">{ok,[{matched,nonode@nohost,1}]}</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Receive init_done from P2</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Receive init_done from P3</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">5> (<0.69.0>) << timeout</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">(<0.69.0>) << {<0.72.0>,init_done}</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">(<0.69.0>) <0.52.0> ! {io_request,<0.69.0>,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> #Ref<0.4081920205.1462501377.51659>,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> {put_chars,unicode,io_lib,format,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> ["Receive init_done from P2~n",[]]}}</span></div><div style="margin: 0px; font-stretch: normal; font-size: 10px; line-height: normal; font-family: Monaco;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">(<0.69.0>) << {io_reply,#Ref<0.4081920205.1462501377.51659>,ok}</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><font face="Helvetica Neue, Helvetica, Arial, sans-serif" class="">Best Wishes,<br class="">bengt<br class=""></font><div><br class=""><blockquote type="cite" class=""><div class="">On 16 Jan 2020, at 04:09, Peter J Etheridge <<a href="mailto:petergi@iinet.net.au" class="">petergi@iinet.net.au</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 12px;" class=""><div class="">dear friends,</div><div class="">i am trying to debug a message sent.</div><div class=""><br class=""></div><div class="">when i run;</div><div class="">dbg:p(registered_name, [m]).</div><div class=""><br class=""></div><div class="">{ok, [{matched,new_node@localhost,1}]}</div><div class=""><br class=""></div><div class="">what is the next step ?</div><div class=""><br class=""></div><div class="">thank you in advance.</div><div class="">peter<br class=""></div><br class=""><br class=""></div>
</div></blockquote></div><br class=""></body></html>