From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: Executing debug-enabled code hangs Date: Tue, 7 Jun 2011 10:36:12 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTyKK-0002Ae-Cp for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 11:36:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTyKI-0007hW-4B for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 11:36:20 -0400 Received: from mailout2-trp.thomsonreuters.com ([163.231.6.26]:34493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTyKH-0007h9-Ol for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 11:36:17 -0400 Received: from trpusmneagrly02.int.westgroup.com (relay2 [163.231.22.113]) by mailout2-trp.thomsonreuters.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p57FaER7011269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Tue, 7 Jun 2011 15:36:15 GMT Received: from TLRUSMNEAGHUB01.ERF.THOMSON.COM (TLRUSMNEAGHUB01.erf.thomson.com [163.231.22.181]) by trpusmneagrly02.int.westgroup.com (Sentrion-MTA-4.0.5/Sentrion-MTA-4.0.5) with ESMTP id p57FaES8017616 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 7 Jun 2011 15:36:14 GMT Content-Language: en-US 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: emacs-orgmode@gnu.org 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