<div dir="ltr">Hello.<br><br>Ah, I see.<br>How would one proceed to set *debugger-hook* to a user specified function globally to catch errors in cl_load?<br><br>I've tried with si_safe_eval( 3, c_string_to_object( "(setq *debugger-hook* nil)", Cnil, OBJNULL ) but that makes no change<br>
- is NIL a valid value? Do I need to specify an environment for it to work? Is the setq function correct?<br><br>Many questions, but I feel that this might work after all :-)<br><br>Thanks in advance,<br><br><div class="gmail_quote">
On Sat, Sep 13, 2008 at 1:26 PM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><br><br><div class="gmail_quote"><div class="Ih2E3d">On Sat, Sep 13, 2008 at 11:06 AM, Christian Svensson <span dir="ltr"><<a href="mailto:info@cmd.nu" target="_blank">info@cmd.nu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><div>Hello, thanks for your answer.<br><br></div>The problem with cl_load as I've experienced it is that it will throw me a top-level prompt if there are any errors in the file.<br>I don't want that.<br>
<br>Is there any time plan to provide this kind of support? Or is it an "issue" at all?</div></blockquote></div><div><br>Christian, can you be more specific? I showed that your code was wrong, so there is no support issue about that. Are you perhaps talking about cl_load? There is a standard way of deactivating the debugger in Common Lisp (*debugger-hook*). Again, this is not ECL related, but Common Lisp.<br>
</div></div><div class="Ih2E3d"><br>Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental<br>CSIC, Serrano, 113, Madrid 28040 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Christian Svensson<br>Command Systems<br>
</div>