From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Different behaviour while debugging? Date: Wed, 20 Feb 2013 08:25:34 -0800 Message-ID: <4CF1CAFF04E64A33B2ABC7C739B9EA53@us.oracle.com> References: <87mwuzkp8i.fsf@gmail.com><4DC3DFD1AA9D4DF69F6EB64B989F9A11@us.oracle.com> <87ip5nkmzk.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361377554 26314 80.91.229.3 (20 Feb 2013 16:25:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Feb 2013 16:25:54 +0000 (UTC) To: "'Thorsten Jolitz'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 20 17:26:16 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U8CUq-0004lI-DN for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Feb 2013 17:26:16 +0100 Original-Received: from localhost ([::1]:46000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8CUV-0001Oo-Dv for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Feb 2013 11:25:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8CUI-0001Ne-TF for help-gnu-emacs@gnu.org; Wed, 20 Feb 2013 11:25:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U8CUH-0003Mg-Dp for help-gnu-emacs@gnu.org; Wed, 20 Feb 2013 11:25:42 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:23676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U8CUH-0003MH-57 for help-gnu-emacs@gnu.org; Wed, 20 Feb 2013 11:25:41 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1KGPaYU031872 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 20 Feb 2013 16:25:37 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1KGPZhi010056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Feb 2013 16:25:35 GMT Original-Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1KGPZcA016599; Wed, 20 Feb 2013 10:25:35 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 20 Feb 2013 08:25:34 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87ip5nkmzk.fsf@gmail.com> Thread-Index: Ac4PgWr1quXBkM7aQpS/QaziEwqaAAABK/rQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89188 Archived-At: > I inserted 'message calls in every condition-case of 'cond, and the > *Messages* buffer showed that the correct condition-cases are > simply not entered when run in normal mode, but are entered when in > debugging mode. > > I tried `M-x debug-on-entry', and just like with edebug, everything > works fine as expected. Yeah, it happens. Sorry, I don't have a great suggestion to make. Try somehow to narrow the problem down to a smaller code segment, perhaps. I don't see anything in the code you sent that should be affected by timing, events, etc. (but I didn't examine it closely). Perhaps you have something else going on that involves such things? Can you try to eliminate all extraneous stuff that might be in your environment, e.g., start from emacs -Q and use just the minimal code that you want to test? Or see what happens when you fiddle some more with things that you suspect might be affecting the behavior. IOW, poke it a bit here and there to see what happens. ;-) Perhaps someone else has a good suggestion. Stefan's seems like a good place to start.