From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ross Boylan Newsgroups: gmane.emacs.help Subject: debugging load failure Date: Sat, 14 Sep 2013 13:00:12 -0700 Message-ID: <1379188812.16341.151.camel@localhost> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1379190800 20281 80.91.229.3 (14 Sep 2013 20:33:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2013 20:33:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 14 22:33:22 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VKwWv-00031c-I7 for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 22:33:21 +0200 Original-Received: from localhost ([::1]:54536 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKwWv-0006tv-2j for geh-help-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 16:33:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKw1H-0007kY-0U for help-gnu-emacs@gnu.org; Sat, 14 Sep 2013 16:00:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKw1B-0001fR-0k for help-gnu-emacs@gnu.org; Sat, 14 Sep 2013 16:00:38 -0400 Original-Received: from upstrm185.psg-ucsf.org ([38.99.193.74]:31788 helo=biostat.ucsf.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKw1A-0001cF-Rx for help-gnu-emacs@gnu.org; Sat, 14 Sep 2013 16:00:32 -0400 Original-Received: from ns208-a-650ts.psg.net ([10.0.2.3]:19551 helo=[192.168.40.102]) by biostat.ucsf.edu with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1VKw0j-0006iu-Rh; Sat, 14 Sep 2013 13:00:06 -0700 X-Mailer: Evolution 3.4.4-3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 38.99.193.74 X-Mailman-Approved-At: Sat, 14 Sep 2013 16:33:11 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93397 Archived-At: I am new to debugging elisp. My .emacs file includes (load "ess-site"). This used to work, but no longer seems effective--there is no sign that ESS has been loaded. There is also no error, and nothing in *Messages* indicating a problem. Other code in .emacs is being evaluated. emacs --debug-init doesn't help (that is, emacs launches the same way it does without the option), presumably because there is no error. I would like to trace through and see what's going on. With the cursor inside (load "ess-site") M-x edebug-eval-top-level-form starts the debugger. I then hit "i", which I think is the way to step into the lower level evaluations. This asks for a C source file (apparently the load is defined internally in C) which a) is not on my system; b) doesn't seem as if it would be meaningful to an elisp debugger; and c) is not likely to be where the problem lies. I really want to see the code in ess-site. At any rate, I can't get past this step. How can I get my hands on something to debug? I do have the ess-site.el, and tried putting (edebug) inside of it. I think this brought up the regular debugger (since it was not edebug instrumented), but it didn't show me where I was in the source and I couldn't do anything useful. (It also show the load command is loading the file). Probably a more experienced person could do something useful, but I could use some help. I think I want to use edebug not debug since the former is friendlier. Running emacs 23.4.1 on Debian GNU/Linux (wheezy). Thanks. Ross Boylan P.S. I would appreciate a cc on the response.