[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19432: backtrace for errors that occur inside process sentinels
From: |
Lars Ingebrigtsen |
Subject: |
bug#19432: backtrace for errors that occur inside process sentinels |
Date: |
Sat, 26 Dec 2015 17:34:01 +0100 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> 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.
So this doesn't seem reproducible. Jonas, do you have a recipe how to
trigger this bug?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#19432: backtrace for errors that occur inside process sentinels,
Lars Ingebrigtsen <=