From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: Re: debug-on-call Date: 04 Feb 2003 09:11:12 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87adhconnz.fsf@jidanni.org> References: <3E3E9E3B.5040000@ihs.com> Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044327675 17591 80.91.224.249 (4 Feb 2003 03:01:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2003 03:01:15 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ftKh-0004ZA-00 for ; Tue, 04 Feb 2003 04:01:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ftMC-0004b6-03 for gnu-bug-gnu-emacs@m.gmane.org; Mon, 03 Feb 2003 22:02:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ftM6-0004TA-00 for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2003 22:02:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ftLw-0004Dg-00 for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2003 22:02:28 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ftLq-00047V-00 for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2003 22:02:22 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ftJw-0004WY-00 for ; Tue, 04 Feb 2003 04:00:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18ftGk-0004Nu-00 for ; Tue, 04 Feb 2003 03:57:06 +0100 Original-Lines: 24 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4384 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4384 >>>>> "K" == Kevin Rodgers writes: K> Dan Jacobson wrote: >> I wanted to have emacs stop if it ever called a function, but no: >> debug-on-entry: Function base64-encode-region is a primitive >> >> I don't need to debug inside that function. All I wanted was to see a >> backtrace so I can tell the layers of stuff calling that function. K> (defadvice base64-encode-region (before debug activate) K> "Debug (when called from an Emacs Lisp function)." K> (debug)) OK, maybe this could be the guts of the new debug-on-call function, or at least documented as what to do when debug-on-entry isn't usable... Of course an antidote should also be provided to turn it off. P.S. Kev, your References: does not give my original post the fame and glory of its original Message-ID causing its thread to be broken 'in many newsreaders'. Did you try reading this group via NNTP of gmane.org for maximal comfort? -- http://jidanni.org/ Taiwan(04)25854780