[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: |
Lars Ingebrigtsen |
Subject: |
bug#50629: 28.0.50; hard to debug an uncaught error with ert |
Date: |
Sat, 27 Aug 2022 15:20:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>> Anybody more familiar with ert.el know how this can be achieved?
>
> Not exactly this, I guess, but maybe as source of an idea?
[...]
> + (ert--pp-with-indentation-and-newline
> + (ert-test-result-with-condition-should-forms result))
> (ert--pp-with-indentation-and-newline
> (ert-test-result-with-condition-condition result)))
> (goto-char (1- (point-max)))
>
> leads to output
>
> Test f condition:
> (((should
> (equal 42
> (foo)))
> :form
> (signal void-function
> (bar))))
> (void-function bar)
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.
- 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 <=
- 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, 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