From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: PLEASE: debugging embedded guile code Date: 26 Apr 2003 16:34:50 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051371375 14214 80.91.224.249 (26 Apr 2003 15:36:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2003 15:36:15 +0000 (UTC) Cc: Guile Development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Apr 26 17:36:13 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 199Rin-0003h8-00 for ; Sat, 26 Apr 2003 17:36:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199Rj6-00065o-01 for guile-devel@m.gmane.org; Sat, 26 Apr 2003 11:36:32 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 199Ri7-0005Og-00 for guile-devel@gnu.org; Sat, 26 Apr 2003 11:35:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 199Rhp-00058k-00 for guile-devel@gnu.org; Sat, 26 Apr 2003 11:35:14 -0400 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 199Rha-0004RF-00 for guile-devel@gnu.org; Sat, 26 Apr 2003 11:34:58 -0400 Original-Received: from laruns.ossau.uklinux.net (bts-0588.dialup.zetnet.co.uk [194.247.50.76]) by s1.uklinux.net (8.11.6p2/8.11.6) with ESMTP id h3QFYr716864; Sat, 26 Apr 2003 16:34:53 +0100 Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1])ESMTP id 1441EDC4D4; Sat, 26 Apr 2003 16:34:50 +0100 (BST) Original-To: Joris van der Hoeven In-Reply-To: Original-Lines: 32 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Original-cc: "Dale P. Smith" X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2214 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2214 >>>>> "Joris" == Joris van der Hoeven 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? Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel