From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: using the debugger Date: Fri, 08 Apr 2011 07:26:51 -0400 Message-ID: <4D9EF0FB.4080709@mousecar.com> References: <87mxk13saf.fsf@ericabrahamsen.net> Reply-To: gebser@mousecar.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302262053 20667 80.91.229.12 (8 Apr 2011 11:27:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2011 11:27:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eric Abrahamsen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 08 13:27:28 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 1Q89qZ-0001ee-Vz for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Apr 2011 13:27:28 +0200 Original-Received: from localhost ([127.0.0.1]:42941 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q89qU-0004bP-DI for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Apr 2011 07:27:22 -0400 Original-Received: from [140.186.70.92] (port=52208 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q89q7-0004bH-QI for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 07:27:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q89q6-00083K-TA for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 07:26:59 -0400 Original-Received: from mout.perfora.net ([74.208.4.195]:49367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q89q6-000832-Or for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 07:26:58 -0400 Original-Received: from dellap.mousecar.net (dsl093-011-016.cle1.dsl.speakeasy.net [66.93.11.16]) by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis) id 0MQimL-1QVRRI1k33-00U9vI; Fri, 08 Apr 2011 07:26:56 -0400 User-Agent: Thunderbird 2.0.0.24 (X11/20101213) In-Reply-To: <87mxk13saf.fsf@ericabrahamsen.net> X-Enigmail-Version: 0.96.0 OpenPGP: id=5AD091E7 X-Provags-ID: V02:K0:EYMHxwO0mB9hWk7P97vMcpQhIHeVOzeyDNVeGLFEXcd wsYYw/XOncQWg8ga09uBwCCMKev6aFvUzPUsPr4TaPtM37wcO6 8sia/v0uITd5yDULSLdSXRGmEFpQIaCHAr9rzcvq+uJbKtln6s yi4UP1M8B8mtoHNscb2l0IY9EhBs1xuFUyE6C1zs5S08VgcL4I eHLePPJ100QU7/H3k7ifByHLQX7+il966IT3cfn00o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.208.4.195 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:80699 Archived-At: On 04/08/2011 07:18 AM Eric Abrahamsen wrote: > I'm just learning to use the emacs debugger, and wish I'd done so a lot > earlier. There's one thing I can't figure out how to do. In many cases, > 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. > > I thought "u" might be there to unstar a particular subroutine and let > me jump straight to its return, but that doesn't seem to be the case, or > else I'm using it wrong -- in any case I still have to walk through all > the gory internals of all secondary functions. Can someone tell me how I > can skip them? > > Thanks! > Eric Just don't instrument the functions you don't want to step through. If a function is already instrumented, undo that by evaluating it in the normal way, i.e., place the point at the end of it and do C-x C-e.