From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: how to set debug-on-error permanently? Date: Thu, 19 Dec 2002 19:39:22 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87lm2l6eg5.fsf@emacswiki.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040323850 13072 80.91.224.249 (19 Dec 2002 18:50:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Dec 2002 18:50:50 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18P5kq-0003OU-00 for ; Thu, 19 Dec 2002 19:50:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18P5m5-0002Wi-00 for ; Thu, 19 Dec 2002 19:52:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18P5jA-00077b-00 for emacs-devel@quimby.gnus.org; Thu, 19 Dec 2002 13:49:00 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18P5iA-0006oO-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 13:47:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18P5gi-0006Py-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 13:46:29 -0500 Original-Received: from isp247n.hispeed.ch ([62.2.95.247] helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18P5a7-00042C-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 13:39:39 -0500 Original-Received: from confusibombus (dclient217-162-234-141.hispeed.ch [217.162.234.141])gBJIdMgF007650 for ; Thu, 19 Dec 2002 19:39:22 +0100 Original-Received: from alex by confusibombus with local (Exim 3.35 #1 (Debian)) id 18P5Zq-00008o-00 for ; Thu, 19 Dec 2002 19:39:22 +0100 Original-To: emacs-devel@gnu.org X-Face: ^BC$`[IcggstLPyen&dqF+b2'zyK#r.mU*'Nms}@&4zw%SJ#5!/7SMVjBS7'lb; QK)|IPU5U'o1'522W4TyzB3Ab*IBo^iw]l4|kUbdZuUDO6=Um-.4IzhNiV'B"@K#jy_(wW|Zbk[34flKY^|PrQ?$u2\fKg^]AY>wOX#H32i In-Reply-To: (Ami Fischman's message of "Thu, 19 Dec 2002 10:09:14 -0800") Original-Lines: 13 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.92 (i686-pc-linux-gnu) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10290 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10290 Ami Fischman writes: > While debugging elisp code, I frequently M-x toggle-debug-on-error before > running my code. However, it seems that the debug-on-error flag gets > toggled back as soon as the first error happens. This means I need to > toggle it before each run that follows an unsuccessful run. Is there some > way to set the flag permanently in a session? I think you are running into something else: While debugging, additional errors do not call the debugger anymore. Solution: Switch to the *Backtrace* buffer and hit q. Alex.