<div dir="ltr">I'm not sure it is what you are after, but perhaps it can hit the battleship in a few shots if we try:<div><br></div><div>Is 'erl -init_debug' what you are after in order to figure out what is the problem in the initialization phase? You can often figure out a way to pass that option to a release (by supplying it as part of the virtual machine arguments).</div><div><br></div><div>Another trick is to look around the message. Often, when do_boot() fails, it logs what is the problem around it.</div><div><br></div><div>Also, I've always found the Erlang boot sequence a bit lacking in information when debugging it, but perhaps I have just used it incorrectly. </div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Feb 13, 2017 at 2:44 AM Onorio Catenacci <<a href="mailto:Catenacci@ieee.org">Catenacci@ieee.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi all,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Sorry for this noob question but my google-fu is not what it once was. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">When I get a crash dump with the slogan "Init terminating in do_boot ()" and the boot script contains {progress} points such as would get reported by an init:get_status/0 message (like here:)</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><div class="gmail_msg"> {progress,preloaded},</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Does that get recorded in the crash dump somewhere? I suspect I know where the error is occurring but if I could find those progress messages in the crash dump it might help me to isolate which binary is having a problem getting loaded. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I mean to say there are a few {progress . . . } messages in the script and if I could figure out which one it's getting to before it crashes that would help me to rule in or rule out which binary it isn't finding or which one it's barfing on.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Also, is there any way to trace the loading of the .boot file which is compiled from the .script or do I have to basically build a command line to try to see what's the matter?<br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div>-- <br class="gmail_msg"><div class="m_-7708873699989441475gmail_signature gmail_msg"><div dir="ltr" class="gmail_msg">Onorio Catenacci<br class="gmail_msg"> <br class="gmail_msg"><a href="http://onor.io" class="gmail_msg" target="_blank">http://onor.io</a><div class="gmail_msg"><a href="http://www.google.com/+OnorioCatenacci" class="gmail_msg" target="_blank">http://www.google.com/+OnorioCatenacci</a><br class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"></div></div></div></div>
</div></div>
_______________________________________________<br class="gmail_msg">
erlang-questions mailing list<br class="gmail_msg">
<a href="mailto:erlang-questions@erlang.org" class="gmail_msg" target="_blank">erlang-questions@erlang.org</a><br class="gmail_msg">
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" class="gmail_msg" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br class="gmail_msg">
</blockquote></div>