[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PLEASE: debugging embedded guile code

From: Neil Jerram
Subject: Re: PLEASE: debugging embedded guile code
Date: 26 Apr 2003 16:34:50 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Joris" == Joris van der Hoeven <address@hidden> writes:

    >> I'm curious about this because the question of error handling keeps
    >> popping up and I'm wondering whether our current solution is good
    >> enough.  (With a strong suspicion that it isn't.)
    >> One thing I'm not sure I understand is why you want (or perhaps need)
    >> to do this lazy-catch in C rather than in Scheme, since it would be
    >> much easier in Scheme.  Can you explain?

    Joris> I now have something more or less satisfactory for myself.

Using lazy-catch?

    Joris> One of the most important shortcomings of the current
    Joris> situation is probably poor documentation. In particular, I
    Joris> think that the manual should contain an example how to deal
    Joris> with detailed error handling.

I agree, but I also think that the lazy-catch mechanism is more tricky
than it needs to be, especially in C.  So I'd like to get the
mechanism right first and then document it.

    Joris> I also think that there you might add some scheme routines
    Joris> to construct comprehensive error messages from error
    Joris> objects.  This would allow me to print these messages in a
    Joris> popup window or include them in a status buffer. I
    Joris> currently print everything to standard output or error...

I think I understand, but can you give an example?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]