GNU bug report logs - #7825
Cannot return from the debugger

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Tue, 11 Jan 2011 21:25:02 UTC

Severity: normal

Found in version 24.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Štěpán Němec <stepnem <at> gmail.com>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 7825 <at> debbugs.gnu.org, rms <at> gnu.org, Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: bug#7825: Cannot return from the debugger
Date: Wed, 12 Jan 2011 10:56:30 +0100
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Štěpán Němec <stepnem <at> gmail.com> writes:
>
>> I'm not sure I understand what you two are saying or how that relates to
>> the problem at hand, but what a decent Lisp system usually does when an
>> error happens inside the debugger is just add another debugging layer on
>> the stack, i.e. start the debugger on the "newer" error; then when you
>> exit the inner level, you end up back debugging the outer level.
>
> That's not returning from the debugger, that's throwing to some outer
> level, i.e. the context of the error is destroyed in any case.

Yes. What I was trying to say is that when you're doing something inside
the debugger and an error occurs, another debugger (level) should be
started instead of invalidating what you had been doing. The case I bump
into most often is stepping in Edebug -- when an error occurs, it is
just displayed in the message area, followed by "Cannot return from the
debugger in an error", and that's it, no matter what your
`debug-on-error' settings were.

  Štěpán




This bug report was last modified 14 years and 78 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.