GNU bug report logs - #19432
backtrace for errors that occur inside process sentinels

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Mon, 22 Dec 2014 19:47:02 UTC

Severity: wishlist

Tags: moreinfo, unreproducible

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 19432 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 19432 <at> debbugs.gnu.org
Subject: Re: bug#19432: backtrace for errors that occur inside process
 sentinels
Date: Mon, 22 Dec 2014 23:15:43 -0500
> Please provide a way to get backtraces for errors that occur inside
> process sentinels.

(setq debug-on-error t) works for me:

   emacs -Q --eval '(setq debug-on-error t)'                          \
            --eval '(let ((proc (start-process "foo" nil "true")))    \
                      (set-process-sentinel proc (lambda (&rest args) \
                                                   (+ args 2))))'

brings up a *Backtrace* buffer just fine.


        Stefan




This bug report was last modified 9 years and 143 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.