From: Noam Postavsky <npostavs@gmail.com>
To: 30044@debbugs.gnu.org
Cc: claus.fischer@clausfischer.com
Subject: bug#30044: Emacs: Gud-mode: Debugging with gud: Window switching problem
Date: Sun, 20 May 2018 19:52:32 -0400 [thread overview]
Message-ID: <87h8n1j35r.fsf@gmail.com> (raw)
In-Reply-To: <20180109123311.klciuvflkdgm23pf@clausfischer.com>
tags 30044 - moreinfo pending
found 30044 24.5
close 30044 25.1
quit
On 20 May 2018 at 18:37, Claus Fischer <claus.fischer@clausfischer.com> wrote:
>
> On Sun, May 20, 2018 at 06:10:01PM -0400, Noam Postavsky wrote:
>> On 20 May 2018 at 16:03, Claus Fischer <claus.fischer@clausfischer.com> wrote:
>>
>> > I attach the full content of the trace-output buffer; I'm not sure
>> > it's appropriate for the bug-tracker since it contains some specific
>> > information of my source code.
>>
>> Do you mean that it might contain information you prefer not to post publicly?
>
> I don't think there's anything secret in it, just that it would
> clog the bugtracker with too much information.
>
>> Looking at the end of your trace:
>>
>> 1 -> (trace-values (#<window 10 on *gud-hubserverd*> #<window 3 on memdb.c>) ...
>> | 2 -> (gud-display-frame)
>> | | 3 -> (gud-display-line ".../database.c" 231)
>> | | 3 -> (trace-values #<window 10 on *gud-hubserverd*>)
>> | | | 4 -> (display-buffer #<buffer database.c>)
>> | | | 4 <- display-buffer: #<window 10 on database.c>
>>
>> I think you are running Emacs 24.5, correct? I ask because in Emacs
>> 25.1 and above, that display-buffer call would have an additional (nil
>> (inhibit-same-window . t)) argument. In which case, you might be
>> hitting Bug#20034/19901/17675.
>
> Yes, indeed.
>
> $ emacs --version
> GNU Emacs 24.5.1
> Copyright (C) 2015 Free Software Foundation, Inc.
> GNU Emacs comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of Emacs
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING.
>
> ***
>
> About bug 19901: I noticed that after the bug, Emacs had kind of
> "switched" its idea in which half of the frame the correct window
> was. I have a single frame with upper and lower half windows
> (C-x 2), and I usually debug in the lower and view the source
> in the upper one.
>
> However, after the bug hit, even if I switched the lower half
> to *gud-gdb* again, it would for the next breakpoint again
> cover the gud-gdb window. But if I switched the upper half
> to *gud-gdb*, I could continue debugging "normally", and
> the source would then show up in the lower window.
>
> ***
>
> I looked up the descriptions of the other bugs, and it seems
> it's the same as mine. So I'll expect that the next Emacs
> (whenever I upgrade my Debian) will probably fix it.
If you are using Stretch (current stable) or later you can get a newer
Emacs by installing the emacs25 package.
https://packages.debian.org/stretch/emacs25
> I won't report it again for Emacs 24.5.
>
> If you want to close the bug on that account, please
> go ahead!
Okay, closing.
> Thanks very much for your help!
prev parent reply other threads:[~2018-05-20 23:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-09 12:33 bug#30044: Emacs: Gud-mode: Debugging with gud: Window switching problem Claus Fischer
2018-01-09 18:44 ` Eli Zaretskii
2018-01-09 20:58 ` Claus Fischer
2018-01-10 3:28 ` Eli Zaretskii
2018-01-10 3:39 ` Noam Postavsky
2018-01-10 11:19 ` Claus Fischer
2018-01-11 1:58 ` Noam Postavsky
2018-01-11 13:24 ` Claus Fischer
2018-01-12 1:24 ` Noam Postavsky
2018-05-20 23:52 ` Noam Postavsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8n1j35r.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=30044@debbugs.gnu.org \
--cc=claus.fischer@clausfischer.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.