GNU bug report logs -
#40016
[PATCH] inferior: Distinguish inferior exceptions.
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Tue, 10 Mar 2020 16:04:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
Ludovic Courtès <ludo <at> gnu.org> skribis:
> This avoids ambiguities when looking at a backtrace where the exception
> was actually thrown by an inferior in a very different context.
The idea was suggested at the Guix Days by someone who had had a hard
time looking at one of these weird backtraces, until you realize the
exception was actually thrown by another process.
There are a few places in the Data Service that do things like:
(catch 'misc-error
(lambda ()
(inferior-eval …))
…)
This will have to be adjusted. Does that work for you, Chris?
If you want to go fancy, you can implement a compatibility later, though
I’m not sure it’s worth it.
Eventually I’d like ‘&inferior-exception’ to include inferior stack
frames, though that’ll require changes to the REPL protocol.
Ludo’.
This bug report was last modified 5 years and 70 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.