From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daniel Skarda <0rfelyus@ucw.cz> Newsgroups: gmane.lisp.guile.user Subject: Re: reporting 'system-error informatively Date: 21 Oct 2002 01:02:20 +0200 Sender: guile-user-admin@gnu.org Message-ID: References: <87r8ekx03e.fsf@zagadka.ping.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035189747 19319 80.91.224.249 (21 Oct 2002 08:42:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 08:42:27 +0000 (UTC) Cc: guile-user@gnu.org 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 183Y8n-00050t-00 for ; Mon, 21 Oct 2002 10:42:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 183Y7W-0006ji-00; Mon, 21 Oct 2002 04:41:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 183Y5z-0006TB-00 for guile-user@gnu.org; Mon, 21 Oct 2002 04:39:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 183Y5x-0006T0-00 for guile-user@gnu.org; Mon, 21 Oct 2002 04:39:30 -0400 Original-Received: from stateless1.tiscali.cz ([213.235.135.70] helo=mail.tiscali.cz) by monty-python.gnu.org with esmtp (Exim 4.10) id 183Y5x-0006Sw-00 for guile-user@gnu.org; Mon, 21 Oct 2002 04:39:29 -0400 Original-Received: from hobitin.ucw.cz (212.90.236.108) by mail.tiscali.cz (6.0.044) id 3DA29C7F0020EA21; Mon, 21 Oct 2002 10:38:22 +0200 Original-Received: from 0rfelyus by hobitin.ucw.cz with local (Exim 3.36 #1 (Debian)) id 183P5Q-0001S0-00; Mon, 21 Oct 2002 01:02:20 +0200 Original-To: Marius Vollmer In-Reply-To: <87r8ekx03e.fsf@zagadka.ping.de> Original-Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1247 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1247 Marius Vollmer writes: > prj@po.cwru.edu (Paul Jarc) writes: > > If I catch 'system-error and display an error message, I'd like to > > include the arguments of the procedure that failed along with the > > procedure name and errno string. Is there a way to get the arguments > > programmatically, other than by parsing the output of (backtrace)? > > The arguments are passed among the arguments received by the handler. > You can do something like [call-with-error-catching code] > which is probably way too complicated. This is a weak spot of Guile, > I'm afraid. I noticed that there is similar code in module (ice-9 stack-catch). What is the difference between your code and stack-catch module? 0. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user