bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug-on-call


From: Dan Jacobson
Subject: Re: debug-on-call
Date: 04 Feb 2003 09:11:12 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "K" == Kevin Rodgers <address@hidden> 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:
<address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]