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

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

Re: Debugging Elisp


From: Sebastien Vauban
Subject: Re: Debugging Elisp
Date: Sun, 26 May 2013 21:12:12 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt)

Hello Stefan,

Stefan Monnier wrote:
>> What you say here resonates to me. I have the impression (from pragmatic
>> observations) that `toggle-debug-on-error' just shows the next first error,
>> then none. While `M-: (setq debug-on-error t)' will work forever.
>
> You misunderstood: toggle-debug-on-error is exactly the same as setting
> via setq or set-variable.  What Pascal was referring to is that errors
> that occur while running post-command-hook cause the corresponding
> function to be removed from the hook (to try and prevent the error from
> occurring over and over again), so such errors tend to "occur only once".

Thanks for putting me right on tracks, then. I don't think I've dreamed,
though.

Next time I need to track down some error, and get a backtrace, I'll be much
more careful for testing, and report anything I would consider as being wrong.

Up to that point, then, I'm presumed to be wrong.

Best regards,
  Seb

-- 
Sebastien Vauban


reply via email to

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