From: Neil Jerram <neil@ossau.uklinux.net>
Cc: Joris van der Hoeven <TeXmacs@math.u-psud.fr>
Subject: Re: PLEASE: debugging embedded guile code
Date: 28 Apr 2003 20:26:42 +0100 [thread overview]
Message-ID: <m3llxuctjh.fsf@laruns.ossau.uklinux.net> (raw)
In-Reply-To: <xy73ck2bufy.fsf@nada.kth.se>
>>>>> "Mikael" == Mikael Djurfeldt <djurfeldt@nada.kth.se> writes:
Mikael> Neil Jerram <neil@ossau.uklinux.net> writes:
Dale> The answer is lazy-catch. [...]
Mikael> In fact, it's better to use
Mikael> scm_internal_stack_catch
Mikael> in which case some of the complexity disappears.
True; I've used stack-catch in my latest suggestion.
>> 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.)
Mikael> One obvious reason is that there is no documentation. We
Mikael> should really have a simple example of how to enable
Mikael> debugging from C and how to use scm_internal_stack_catch
Mikael> to print out all error information.
I agree w.r.t. documentation but am not convinced about C. I'm
beginning to think that Guile should actively encourage people to do
as much as possible in Scheme, and I see no reasons (yet) why this
kind of error handling has to be done in C.
Mikael> Regarding looking for new/better solutions: It's probably
Mikael> good to follow closely what happens with regard to error
Mikael> handling in the SRFI process. Relevant SRFIs are, at
Mikael> least, 34, 18 (exception handlers, `raise' in thread
Mikael> context), 23, 35, 36.
Thanks - I'll take a look.
Neil
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next prev parent reply other threads:[~2003-04-28 19:26 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.GSO.3.96.1030209200016.26546A-100000@anh>
2003-02-25 14:19 ` PLEASE: debugging embedded guile code Joris van der Hoeven
2003-02-25 14:36 ` Dale P. Smith
2003-04-26 14:51 ` Neil Jerram
2003-04-26 16:40 ` Bruce Korb
2003-04-26 19:12 ` Neil Jerram
2003-04-26 20:13 ` Bruce Korb
2003-04-27 20:49 ` Neil Jerram
2003-04-27 21:57 ` Bruce Korb
2003-04-28 15:54 ` Paul Jarc
2003-04-28 16:07 ` Bruce Korb
2003-04-28 19:21 ` Neil Jerram
2003-04-28 20:06 ` Bruce Korb
2003-04-28 20:58 ` Neil Jerram
2003-05-16 17:19 ` Bruce Korb
2003-05-16 19:23 ` Neil Jerram
2003-05-16 20:27 ` Bruce Korb
2003-05-16 21:21 ` Rob Browning
2003-05-16 21:56 ` Bruce Korb
2003-05-17 0:31 ` Bruce Korb
2003-05-17 2:33 ` Bruce Korb
2003-05-19 15:00 ` Paul Jarc
2003-04-28 13:52 ` Mikael Djurfeldt
2003-04-28 19:26 ` Neil Jerram [this message]
2003-04-30 0:13 ` SRFI 34 Neil Jerram
2003-05-17 0:45 ` Marius Vollmer
2003-05-17 9:39 ` Neil Jerram
2003-05-17 20:36 ` Marius Vollmer
2004-03-07 18:34 ` Neil Jerram
2003-04-26 14:45 ` PLEASE: debugging embedded guile code Neil Jerram
[not found] <Pine.GSO.4.33.0304261706460.1619-100000@sunanh>
2003-04-26 15:34 ` Neil Jerram
2003-04-26 15:40 ` Joris van der Hoeven
2003-04-26 19:30 ` Neil Jerram
2003-04-27 8:40 ` Joris van der Hoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3llxuctjh.fsf@laruns.ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=TeXmacs@math.u-psud.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).