From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Derek Peschel Newsgroups: gmane.lisp.guile.devel Subject: Re: Evaluating (exit) in the debugger Date: Fri, 21 Nov 2008 13:14:04 -0800 Message-ID: <20081121131404.A17225@eskimo.com> References: <20081119165343.A29659@eskimo.com> <49dd78620811201609v272c7487i72840fdafe80588f@mail.gmail.com> <20081120164832.A7356@eskimo.com> <20081121015851.A14566@eskimo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1227302218 17307 80.91.229.12 (21 Nov 2008 21:16:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2008 21:16:58 +0000 (UTC) Cc: guile-devel@gnu.org To: Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 21 22:18:01 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L3dNx-0004cQ-P9 for guile-devel@m.gmane.org; Fri, 21 Nov 2008 22:17:54 +0100 Original-Received: from localhost ([127.0.0.1]:59259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3dMo-0006Hp-A9 for guile-devel@m.gmane.org; Fri, 21 Nov 2008 16:16:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L3dKM-0005ZI-Es for guile-devel@gnu.org; Fri, 21 Nov 2008 16:14:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L3dKK-0005YM-Kr for guile-devel@gnu.org; Fri, 21 Nov 2008 16:14:09 -0500 Original-Received: from [199.232.76.173] (port=42461 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3dKK-0005Y9-Cx for guile-devel@gnu.org; Fri, 21 Nov 2008 16:14:08 -0500 Original-Received: from ultra5.eskimo.com ([204.122.16.68]:38144) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L3dKJ-00045y-Jq for guile-devel@gnu.org; Fri, 21 Nov 2008 16:14:08 -0500 Original-Received: from eskimo.com (eskimo.com [204.122.16.13]) by ultra5.eskimo.com (8.14.3/8.14.0) with ESMTP id mALLE2ax008928; Fri, 21 Nov 2008 13:14:03 -0800 Original-Received: (from dpeschel@localhost) by eskimo.com (8.9.1a/8.9.1) id NAA18413; Fri, 21 Nov 2008 13:14:04 -0800 (PST) Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20081121015851.A14566@eskimo.com>; from dpeschel@eskimo.com on Fri, Nov 21, 2008 at 01:58:51AM -0800 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:7882 Archived-At: On Fri, Nov 21, 2008 at 01:58:51AM -0800, Derek Peschel wrote: > I also have to figure out why eval-handler is not getting an ordinary quit > exception in test 1. Sorry if this series of follow-ups is bad style -- I'm thinking this out in public. Maybe the documentation will be useful in some way. My question was a useful clue that something was wrong. Intuitively, if the code being evaluated throws a quit exception, you'd expect eval- handler to get the quit exception. It does, _at the beginning_ before its internal catch runs, whereas test 1 was looking inside the catch. The correct change to eval-handler is quite minor: just rethrow any quit exceptins it gets, and do the rethrow before any of the error-anlysis code takes over. Then debug-handler gets the quit. My last patch dealt with that part of the sequence of events. So the problem is fully solved and I'll send out a new patch soon. And thanks for your help. The comment about 'continue got me to look more closely at eval-handler. -- Derek