[Ecls-list] "Silent" ECL

Christian Svensson info at cmd.nu
Sun Sep 14 12:02:27 UTC 2008


Hello.

Ah, I see.
How would one proceed to set *debugger-hook* to a user specified function
globally to catch errors in cl_load?

I've tried with si_safe_eval( 3, c_string_to_object( "(setq *debugger-hook*
nil)", Cnil, OBJNULL ) but that makes no change
- is NIL a valid value? Do I need to specify an environment for it to work?
Is the setq function correct?

Many questions, but I feel that this might work after all :-)

Thanks in advance,

On Sat, Sep 13, 2008 at 1:26 PM, Juan Jose Garcia-Ripoll <
juanjose.garciaripoll at googlemail.com> wrote:

>
>
> On Sat, Sep 13, 2008 at 11:06 AM, Christian Svensson <info at cmd.nu> wrote:
>
>> Hello, thanks for your answer.
>>
>> 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.
>> I don't want that.
>>
>> Is there any time plan to provide this kind of support? Or is it an
>> "issue" at all?
>>
>
> 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.
>
> Juanjo
>
> --
> Instituto de Física Fundamental
> CSIC, Serrano, 113, Madrid 28040 (Spain)
> http://juanjose.garciaripoll.googlepages.com
>



-- 
Christian Svensson
Command Systems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080914/4b509b47/attachment.html>


More information about the ecl-devel mailing list