From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: using the debugger Date: Fri, 8 Apr 2011 19:39:23 -0500 Message-ID: References: <87mxk13saf.fsf@ericabrahamsen.net> <6ce07a3c-aa8f-4492-8976-3a2a7fc3a890@i14g2000yqe.googlegroups.com> <87bp0gcrw3.fsf@puma.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1302309597 28449 80.91.229.12 (9 Apr 2011 00:39:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2011 00:39:57 +0000 (UTC) To: GNU Emacs List Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 02:39:51 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 1Q8MDO-00074q-Mt for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Apr 2011 02:39:50 +0200 Original-Received: from localhost ([127.0.0.1]:49705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8MDO-00081Z-17 for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Apr 2011 20:39:50 -0400 Original-Received: from [140.186.70.92] (port=34848 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8MD3-00081U-W6 for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 20:39:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8MD3-0003O1-2f for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 20:39:29 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:63916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8MD2-0003Nx-W3 for help-gnu-emacs@gnu.org; Fri, 08 Apr 2011 20:39:29 -0400 Original-Received: by yxt33 with SMTP id 33so1995826yxt.0 for ; Fri, 08 Apr 2011 17:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=pY7URSgMN7speQJkGSmakXQmTx3C3EcL9sOJn9nUUCE=; b=EBLxPx/uJ4c8nX0LsPtc7V933FUIHtCObVXwFAcFiNLmI9Q4vLVZno6RpXqB4QurPf L+KMdqFpZOT5aGKZOQJ6WM8Tm2x7iB1nqbVgqJAMcaM1YjMbPNaxbEKRjERyS+jL4RjX 6PEyDlQ4r0uXgW9Wu29wfH6AL9lw0Upbpu+aA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=wkkMQHZfDFZWvjhCZhUe7NXX2mfCpTOlz8xTqIBOb5sgXgMPbWZU7rWJ/rmByzFOZ0 J/xz5pmS1ekvWYMyc4C8oAFrgd6cRRIU8gMuBZQ03I3BMikj/QS8k6jzP+TGmT13yl/7 Rtq9ogO39Nl6Y7I7zkf5alCk/UN2UjehXlELA= Original-Received: by 10.236.72.225 with SMTP id t61mr3860911yhd.227.1302309568044; Fri, 08 Apr 2011 17:39:28 -0700 (PDT) Original-Received: from [10.0.0.4] ([64.128.19.234]) by mx.google.com with ESMTPS id h28sm1529971yhm.97.2011.04.08.17.39.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Apr 2011 17:39:26 -0700 (PDT) In-Reply-To: <87bp0gcrw3.fsf@puma.rapttech.com.au> X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.169 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:80723 Archived-At: On Apr 8, 2011, at 5:14 PM, Tim X wrote: > Probably the most common 'tool' I use is message. Yep! I call it debug via printf. Crude but often very quick. And then = I add in some local variable as a flag to turn all my messages on or = off. I've debug the same script, C code, lisp function, etc more than = once more than once. pedz