From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: debugging export error Date: Wed, 08 Oct 2014 21:22:43 +0200 Message-ID: <87tx3eicxo.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbwoM-0006qI-VN for emacs-orgmode@gnu.org; Wed, 08 Oct 2014 15:22:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XbwoF-0003ID-8L for emacs-orgmode@gnu.org; Wed, 08 Oct 2014 15:22:10 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:43934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XbwoF-00039g-2r for emacs-orgmode@gnu.org; Wed, 08 Oct 2014 15:22:03 -0400 In-Reply-To: (Charles Berry's message of "Wed, 8 Oct 2014 19:11:02 +0000 (UTC)") 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: Charles Berry Cc: emacs-orgmode@gnu.org Hello, Charles Berry writes: > I am trying to debug a subtree export. > > I get > > member-ignore-case: Wrong type argument: stringp, nil > > and it seems to come from `org-export-get-environment' but if I instrument > that function, the error goes away whether I step thru it or `c' on entry. > > Likewise, if I M-x debug-on-entry and just `c' on entry, I get no error. > > Bisecting the file with the subtree I am trying to export, I can find things > - like removing an unused src block - that when changed get rid of the > error. > > But I'd really like to know what is going on here and not being able to > see the problem thru a debugger is a frustration. > > Advice appreciated. M-x toggle-debug-on-error and running an uncompiled Org should give you a better starting point. Regards, -- Nicolas Goaziou