GNU bug report logs -
#8789
23.3; debug backtrace buffer changes window on step-through
Previous Next
Reported by: Pete Beardmore <pete.beardmore <at> msn.com>
Date: Thu, 2 Jun 2011 17:28:02 UTC
Severity: normal
Found in version 23.3
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> > > So the solution is probably to never enable `debug-on-entry' for
> > > functions that run through the mode-line mechanism.
> >
> > That does not sound like the solution to me.
I don't see this as critical as Drew, IMHO this is not really a bug. It
is consistent behavior, and sometimes it can useful to be able to enter
the debugger from code run by redisplaying.
But OTOH, invoking the debugger in such situations can (a) be
surprising, and even a experienced user may take some time to see what's
happening. And, b), it is not what you want most of the time.
So, what would be cool is a user-option for that behavior. The default
could be to not invoke the debugger from redisplay code.
A question would be how to handle similar stuff, like menu calculation,
things in pre|post-command-hook, code run by timers, etc. I mean all
the stuff that is not run directly while processing a user command.
If such an option could easily be implemented, that would be fine. But
if it would be too much work, I also could live without it. I can use
`debug' to invoke the debugger directly, which prevents such surprises.
Michael.
This bug report was last modified 12 years and 223 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.