From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rusi Newsgroups: gmane.emacs.help Subject: Re: using the debugger Date: Fri, 8 Apr 2011 10:30:03 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6ce07a3c-aa8f-4492-8976-3a2a7fc3a890@i14g2000yqe.googlegroups.com> References: <87mxk13saf.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1302284888 32188 80.91.229.12 (8 Apr 2011 17:48:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2011 17:48:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 08 19:48:04 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q8Fmt-0000BF-W4 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Apr 2011 19:48:04 +0200 Original-Received: from localhost ([127.0.0.1]:42843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8Fms-0006Pu-NW for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Apr 2011 13:48:02 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!i14g2000yqe.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 116.73.35.230 Original-X-Trace: posting.google.com 1302283803 12976 127.0.0.1 (8 Apr 2011 17:30:03 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 8 Apr 2011 17:30:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: i14g2000yqe.googlegroups.com; posting-host=116.73.35.230; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:186604 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80711 Archived-At: On Apr 8, 7:03=A0pm, "Drew Adams" wrote: > > while I'm stepping through the calling of a function, it in turn calls > > another function, which I don't really care about. I know what it's > > going to return, I just want to get on with things, but the secondary > > function is long and drawn-out and I have to hit "d" like > > fifty times to get through it and back to the top-level function. > > Can someone tell me how I can skip them? > > Use `c' to `c'ut to the `c'hase, skipping directly to the result of an > evaluation. > > Use `d' to `d'ig through an evaluation step by step. > > Remember the `C-h m' is your friend in nearly any buffer. > > [Ken's reply about "instrumenting" was no doubt about using `edebug'. =A0= I take it > that you are instead using `debug' (which is what I use, FWIW). =A0IOW, I= assume Just curious -- why do you prefer debug over edebug? Or perhaps a better question: Whats your debug-workflow? > you're either calling `(debug)' in your code or doing `M-x debug-on-entry= ' or > setting `debug-on-error' or `debug-on-quit' to non-nil.]