From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Executing debug-enabled code hangs Date: Tue, 07 Jun 2011 13:04:25 -0400 Message-ID: <3525.1307466265@alphaville.americas.hpqcorp.net> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTzhj-0008L2-1x for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 13:04:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTzhc-0006pR-0p for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 13:04:34 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:40062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTzhb-0006p0-NO for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 13:04:27 -0400 In-Reply-To: Message from of "Tue, 07 Jun 2011 10:36:12 CDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken.Williams@thomsonreuters.com Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org wrote: > 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. > It wouldn't hurt. Nick