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

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

bug#50629: 28.0.50; hard to debug an uncaught error with ert


From: Gerd Möllmann
Subject: bug#50629: 28.0.50; hard to debug an uncaught error with ert
Date: Mon, 29 Aug 2022 17:20:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>> You mean the signal-hook-function?  It is invoked, so one can do
>> something there.
>
> No, I was thinking in the
>
>                         (args-574 (condition-case err (let ( foo)
>                                                         (list 42 (foo)))
>                                     (error (progn
>                                              (setq fn-573 #'signal)
>
> `error' handler here...

I'm afraid that's too late.  The stack frames of the error have already
been unwound when we are back in the condition-case.





reply via email to

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