From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: saving and restoring the error stack trace Date: Fri, 01 Sep 2006 08:34:00 +0100 Message-ID: <87zmdkavmf.fsf@ossau.uklinux.net> References: <15846551.1156820926538.JavaMail.root@web13> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157096188 28233 80.91.229.2 (1 Sep 2006 07:36:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Sep 2006 07:36:28 +0000 (UTC) Cc: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Sep 01 09:36:24 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GJ3Ze-00022I-P1 for guile-user@m.gmane.org; Fri, 01 Sep 2006 09:36:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ3Ze-0002bs-9G for guile-user@m.gmane.org; Fri, 01 Sep 2006 03:36:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GJ3ZZ-0002bm-0G for guile-user@gnu.org; Fri, 01 Sep 2006 03:36:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GJ3ZX-0002bQ-Cl for guile-user@gnu.org; Fri, 01 Sep 2006 03:36:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GJ3ZX-0002bN-8n for guile-user@gnu.org; Fri, 01 Sep 2006 03:36:15 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GJ3jK-0004gH-NL for guile-user@gnu.org; Fri, 01 Sep 2006 03:46:22 -0400 Original-Received: from laruns (host86-129-125-104.range86-129.btcentralplus.com [86.129.125.104]) by mail3.uklinux.net (Postfix) with ESMTP id 4145A40A377; Fri, 1 Sep 2006 07:35:19 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id E8C056FF90; Fri, 1 Sep 2006 08:34:00 +0100 (BST) Original-To: In-Reply-To: <15846551.1156820926538.JavaMail.root@web13> (dsmich@adelphia.net's message of "Mon, 28 Aug 2006 23:08:46 -0400") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5485 Archived-At: writes: > ---- Neil Jerram wrote: > >> 5.21.2 Debugging when an error occurs > > ... > > Thank you, thank you! This bit of documentation has been sorely > needed for a long time. That's true. Over the last few years it's a question that has been regularly asked on the mailing lists, and never quite definitively answered. > Many people come to Guile from the "C side" > with poor or nonexistant Scheme experience. Usually to add Guile to > some C application, which of course throws out the REPL and it's > backtracing and error reporting capabilities. So then when errors > happen you have no idea where or how. Making a C program extended > by Guile spit out a proper backtrace is a twisty maze of handlers > and catchers, and some of them need to be lazy. (Lazy? Why would I > want a *lazy* handler, I want a hard-working, full-featured kind of > handler, not some wimpy light weight *lazy* handler!) :-) > My point is that getting good backtraces from C is non-obvious and a > huge hindrance to people just learning how to use Guile and Scheme. > But that's over now. Thanks again Neil. Thanks for your kind words. Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user