[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: |
Sat, 27 Aug 2022 15:44:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Hm, yes... But it'd be really useful to have the complete backtrace
> instead of just the signal form, because the errors that this would be
> most helpful for are often way down in the call stack.
The backtrace we have already. It's the "unreadable" stuff that ERT
prints. It's hard to make sense of because of the macrology involved.
If you macroexpand the ert-deftest form that Mike provided, you'll see
what I mean.
And that's also what one will see in a debugger. (There's an
ert-debug-on-error, BTW. I think someone asked.)
Don't know, maybe you could change ert-deftest to expand into something
more readable?
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/26
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/26
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert,
Gerd Möllmann <=
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Mike Kupfer, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Ihor Radchenko, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/28
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/28
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/28