all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Thorsten Jolitz'" <tjolitz@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Different behaviour while debugging?
Date: Wed, 20 Feb 2013 08:25:34 -0800	[thread overview]
Message-ID: <4CF1CAFF04E64A33B2ABC7C739B9EA53@us.oracle.com> (raw)
In-Reply-To: <87ip5nkmzk.fsf@gmail.com>

> 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.




  reply	other threads:[~2013-02-20 16:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-20 14:57 Different behaviour while debugging? Thorsten Jolitz
2013-02-20 15:08 ` Drew Adams
2013-02-20 15:45   ` Thorsten Jolitz
2013-02-20 16:25     ` Drew Adams [this message]
2013-02-20 16:50       ` Thorsten Jolitz
2013-02-20 15:56 ` Stefan Monnier
2013-02-20 16:31   ` Thorsten Jolitz
2013-02-22 14:06     ` Stefan Monnier
2013-02-22 17:44       ` Thorsten Jolitz
2013-02-22 18:56 ` Andreas Röhler
2013-02-23  9:07   ` Thorsten Jolitz
2013-02-23 11:35     ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF1CAFF04E64A33B2ABC7C739B9EA53@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tjolitz@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.