GNU bug report logs - #8789
23.3; debug backtrace buffer changes window on step-through

Previous Next

Package: emacs;

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 8789 <at> debbugs.gnu.org
Subject: bug#8789: 23.3; debug backtrace buffer changes window on step-through
Date: Thu, 16 Feb 2012 22:53:04 +0100
martin rudalics <rudalics <at> gmx.at> writes:

> Could someone (Pete, Michael) check whether the patch fixes the
> original problem?

I tested about 2 hours and encountered many problems.

At first, some general things:

 (1) If the user starts the debugger, do we really want that the
     Backtrace buffer pops up in some other frame only because it was
     displayed there in some window before?

 (2) A problem with this approach: if the Backtrace buffer was already
     visible in several windows, it still hops around, because the
     window `display-buffer-in-window-previously-showing-it' returns is
     not unique.


Now to my tests in detail:

 - When I start debugging with a 3-windowed frame, and this is the first
   time at all that I use the debugger at all, even then, the debugger
   hops around.  This has to do with (1), but I don't know why it hops
   the first time.


But it gets much worse.  Do the following:

 - emacs -Q
 - require 'debug, and load your patch
 - M-x debug-on-entry dired RET
 - C-x d RET
 - hit d three times -> Emacs crashs!

This is reproducible here.  I use GNU Emacs 24.0.93.1
(i486-pc-linux-gnu, GTK+ Version 3.2.3)\n of 2012-02-16 on zelenka,
modified by Debian, btw.


This is all a horror to debug.  Tell me if I can help with something.


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.