From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#7825: Cannot return from the debugger Date: Wed, 12 Jan 2011 10:56:30 +0100 Message-ID: <87k4ia4f8x.fsf@gmail.com> References: <87sjwy4hnm.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294829753 17847 80.91.229.12 (12 Jan 2011 10:55:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Jan 2011 10:55:53 +0000 (UTC) Cc: 7825@debbugs.gnu.org, rms@gnu.org, Stefan Monnier To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 12 11:55:48 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcyMl-00056t-4q for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jan 2011 11:55:47 +0100 Original-Received: from localhost ([127.0.0.1]:37378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pcy98-0005s5-2U for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jan 2011 05:41:42 -0500 Original-Received: from [140.186.70.92] (port=49746 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcxsJ-0000Jw-6e for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 05:24:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcxsE-0005FP-3a for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 05:24:19 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcxsE-0005FJ-28 for bug-gnu-emacs@gnu.org; Wed, 12 Jan 2011 05:24:14 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PcxN3-000759-Ml; Wed, 12 Jan 2011 04:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jan 2011 09:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7825 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7825-submit@debbugs.gnu.org id=B7825.129482589327186 (code B ref 7825); Wed, 12 Jan 2011 09:52:01 +0000 Original-Received: (at 7825) by debbugs.gnu.org; 12 Jan 2011 09:51:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PcxMa-00074R-JO for submit@debbugs.gnu.org; Wed, 12 Jan 2011 04:51:33 -0500 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PcxMY-00074F-VF for 7825@debbugs.gnu.org; Wed, 12 Jan 2011 04:51:31 -0500 Original-Received: by bwz12 with SMTP id 12so387425bwz.3 for <7825@debbugs.gnu.org>; Wed, 12 Jan 2011 01:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-type :content-transfer-encoding; bh=KetO4dUHEHDk0JKCduLDbVP9cEslXxpcQFrAejfSPSw=; b=GOPwGB9zMEClQUonWkSPQJZL66pGSSOeXXN8OlayIosnOzA32o9MvsXsEnGOz1hiAD pcZ+g+u6vmRnNBuLXbC4XaGbRBotKrNr2bYf+ipqG/MWamuid9Nsf3lexuSdFaEcx755 jVdStGt3w3PXOpmPuX1Fo4VYKPdF/RRvJ2kKw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=oKx5dwCE8G3V04wrBNMX02rvwgoYW/4PlChYBobKJFgnoZkfIRqFRH78i27cTdRppU KQEguoBMHAWWFNkSnKtp3AIQXa8a6eY+guzI+4gzUfL9VxN1GfO0VOIYxVvxU59Ny4B+ l7ZDaCMgKNNlg/lBQ7s7sbch9iY2X/0FouEzw= Original-Received: by 10.204.68.69 with SMTP id u5mr575141bki.99.1294826340199; Wed, 12 Jan 2011 01:59:00 -0800 (PST) Original-Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id 12sm234368bki.7.2011.01.12.01.58.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 01:58:58 -0800 (PST) In-Reply-To: (Andreas Schwab's message of "Wed, 12 Jan 2011 10:41:19 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 12 Jan 2011 04:52:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:43287 Archived-At: Andreas Schwab writes: > =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > >> I'm not sure I understand what you two are saying or how that relates to >> the problem at hand, but what a decent Lisp system usually does when an >> error happens inside the debugger is just add another debugging layer on >> the stack, i.e. start the debugger on the "newer" error; then when you >> exit the inner level, you end up back debugging the outer level. > > That's not returning from the debugger, that's throwing to some outer > level, i.e. the context of the error is destroyed in any case. Yes. What I was trying to say is that when you're doing something inside the debugger and an error occurs, another debugger (level) should be started instead of invalidating what you had been doing. The case I bump into most often is stepping in Edebug -- when an error occurs, it is just displayed in the message area, followed by "Cannot return from the debugger in an error", and that's it, no matter what your `debug-on-error' settings were. =C5=A0t=C4=9Bp=C3=A1n