<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 26, 2013 at 9:32 PM, William Hounslow <span dir="ltr"><<a href="mailto:hounslow@users.sourceforge.net" target="_blank">hounslow@users.sourceforge.net</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":1kp" style="overflow:hidden">

Because I don't have a tame Apache setup to experiment with, I expended<br>
the rest of my effort on changing ECL itself to output a condensed error<br>
message. I got rid of "No restarts available" and now all I see is the<br>
debug prompt. I know it is the prompt because I changed it to a<br>
different character. If I remove that I see nothing at all.</div></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">It is not clear to me whether the error happens _before_ or after your own code. I would suggest wrapping the executable with a script that prints a proper header and _then_ executes the Lisp program in a way that it does not exit. Then intercept with GDB and produce a backtrace.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">You mention being able to intercept INVOKE-DEBUGGER. This would be a nice place to force ECL to sleep and intercept it with GDB from a different process with GDB. Is it possible for you?</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Juanjo<br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a>
</div></div>