emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: <Ken.Williams@thomsonreuters.com>
To: emacs-orgmode@gnu.org
Subject: Executing debug-enabled code hangs
Date: Tue, 7 Jun 2011 10:36:12 -0500	[thread overview]
Message-ID: <CA13AF9C.2D44F%ken.williams@thomsonreuters.com> (raw)

Hi,

I use org-mode a lot with "BEGIN_SRC R" sections that I execute manually
with C-c C-c in an *R* session buffer.  Sometimes I go to that session
buffer and execute some code manually, and occasionally I turn on
debugging for a function with "debug(func)".

If I then go back to my org-mode buffer and execute that function again,
Emacs hangs.  I can't get back to the *R* session in order to step through
the function or disable debugging, so I have to force-quit Emacs.  I know,
I should remember to turn off debugging for those functions, but sometimes
I forget, and the consequence is that I lose the whole session.

Known problem?

This is on:

 * OS X 10.6.6
 * Aquamacs 2.2, which is based on GNU Emacs 23.3.1
 * Org-mode 7.5
 * ess version 5.13

I do have a big huge thread stack trace that Aquamacs generated, if that
would be helpful.

Thanks.

--
Ken Williams
Senior Research Scientist
Thomson Reuters
http://labs.thomsonreuters.com

             reply	other threads:[~2011-06-07 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-07 15:36 Ken.Williams [this message]
2011-06-07 17:04 ` Executing debug-enabled code hangs Nick Dokos
2011-06-07 19:07   ` Ken.Williams

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CA13AF9C.2D44F%ken.williams@thomsonreuters.com \
    --to=ken.williams@thomsonreuters.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).