From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: using the debugger Date: Fri, 8 Apr 2011 07:03:20 -0700 Message-ID: References: <87mxk13saf.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302271451 13004 80.91.229.12 (8 Apr 2011 14:04:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2011 14:04:11 +0000 (UTC) To: "'Eric Abrahamsen'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 08 16:04:08 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 1Q8CIA-0007lB-Jc for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Apr 2011 16:04:06 +0200 Original-Received: from localhost ([127.0.0.1]:37079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8CI9-0001OV-RN for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Apr 2011 10:04:05 -0400 Original-Received: from [140.186.70.92] (port=42584 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8CHe-0001NG-VV for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 10:03:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8CHa-0003MD-BU for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 10:03:34 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:63406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8CHa-0003Lu-6H for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 10:03:30 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p38E3Phx027384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Apr 2011 14:03:26 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p38E3ODo016040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Apr 2011 14:03:24 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p38E3Nos004712; Fri, 8 Apr 2011 09:03:23 -0500 Original-Received: from dradamslap1 (/10.159.62.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Apr 2011 07:03:23 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87mxk13saf.fsf@ericabrahamsen.net> Thread-Index: Acv13sBrp/6rsz9dRP2QGbD1f4EuHAAFlwYQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4D9F15AC.0124:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 148.87.113.121 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:80705 Archived-At: > 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'. I take it that you are instead using `debug' (which is what I use, FWIW). IOW, I assume 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.]