From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: Ditching (debug-enable 'backwards) ? Date: 04 Nov 2002 22:42:33 +0100 Sender: guile-user-admin@gnu.org Message-ID: <87pttl8112.fsf@zagadka.ping.de> References: <8765veblg1.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 1036446995 21105 80.91.224.249 (4 Nov 2002 21:56:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2002 21:56:35 +0000 (UTC) Cc: Guile Development , Guile Users 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 188pBZ-0005M1-00 for ; Mon, 04 Nov 2002 22:55:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 188pBo-0006BO-00; Mon, 04 Nov 2002 16:55:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 188ozT-0008Gn-00 for guile-user@gnu.org; Mon, 04 Nov 2002 16:42:35 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 188ozN-0008D4-00 for guile-user@gnu.org; Mon, 04 Nov 2002 16:42:32 -0500 Original-Received: from mail.dokom.net ([195.253.8.218]) by monty-python.gnu.org with esmtp (Exim 4.10) id 188ozM-0008AL-00 for guile-user@gnu.org; Mon, 04 Nov 2002 16:42:28 -0500 Original-Received: from dialin.speedway42.dip237.dokom.de ([195.138.42.237] helo=zagadka.ping.de ident=qmailr) by mail.dokom.net with smtp (Exim 3.32 #2) id 188p06-0006Z9-00 for guile-user@gnu.org; Mon, 04 Nov 2002 22:43:14 +0100 Original-Received: (qmail 22566 invoked by uid 1000); 4 Nov 2002 21:42:33 -0000 Original-To: Neil Jerram In-Reply-To: Original-Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 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:1326 gmane.lisp.guile.devel:1641 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1326 Neil Jerram writes: > To be more precise, what I don't like about 'backwards is that it > changes how the displayed frames are _numbered_: Well, that sounds like the wrong thing to do wrong. I thought that 'backwards would just print the same lines as the forward display, only in reverse order. There shouldn't really be any more difference between the two, no? > I have no objection to frames appearing in reverse order, but I prefer > that they were then _numbered_ like this (artist's impression): Yes, exactly my opinion as well. > Marius> Is that so? The 'backwards' option should only matter > Marius> during display and we already have that code, right? > > We do, but as we develop debugging tools further, I'd prefer not to > have the call everywhere that converts the frame number as typed by > the user to the correct stack index. It's so easy to leave this call > out somewhere, and easy not to notice the omission. Yes. We should either fix the backwards display then, or disable it (but leave the code in so that it can be fixed later). > As a further point, is similarity with GDB worth anything here? GDB > numbers frames so that frame 0 is the innermost, so perhaps Guile > should do that too. (GDB's direction also has the advantage that "up" > for frames coincides with "up" for frame numbers.) GDB's convention sounds more useful to me. The innermost frame is more important than the outermost one and should get a simple index. With our convention, you have to know how many frames there are before being able to name the innermost one or any frame relative to it. Is it possible to fix this without creating a lot of confusion? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user