From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#30044: Emacs: Gud-mode: Debugging with gud: Window switching problem Date: Sun, 20 May 2018 19:52:32 -0400 Message-ID: <87h8n1j35r.fsf@gmail.com> References: <20180109123311.klciuvflkdgm23pf@clausfischer.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1526860271 11069 195.159.176.226 (20 May 2018 23:51:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 May 2018 23:51:11 +0000 (UTC) Cc: claus.fischer@clausfischer.com To: 30044@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 21 01:51:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKY6U-0002kh-2o for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 May 2018 01:51:06 +0200 Original-Received: from localhost ([::1]:48048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKY8Z-0001bd-JB for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 May 2018 19:53:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fKY8P-0001a0-Fh for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 19:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fKY8M-00078H-EZ for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 19:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34345) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fKY8M-00078D-9X for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 19:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fKY8L-000571-SI for bug-gnu-emacs@gnu.org; Sun, 20 May 2018 19:53:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20180109123311.klciuvflkdgm23pf@clausfischer.com> Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 May 2018 23:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30044 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo pending Original-Received: via spool by 30044-submit@debbugs.gnu.org id=B30044.152686036219617 (code B ref 30044); Sun, 20 May 2018 23:53:01 +0000 Original-Received: (at 30044) by debbugs.gnu.org; 20 May 2018 23:52:42 +0000 Original-Received: from localhost ([127.0.0.1]:42242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKY82-00056F-4s for submit@debbugs.gnu.org; Sun, 20 May 2018 19:52:42 -0400 Original-Received: from mail-io0-f193.google.com ([209.85.223.193]:41709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fKY80-00055v-F0; Sun, 20 May 2018 19:52:41 -0400 Original-Received: by mail-io0-f193.google.com with SMTP id e12-v6so12352615iob.8; Sun, 20 May 2018 16:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version; bh=AGCxcu8Zr5iFz/D5IBYoiZI7xTOsc/XFFkaHwN6yrAk=; b=najC3GpgZIXP8SsHw4upgawCw5yzuvz7+VcORds1kY40X2rhrfDdCMtpW/GSMuL5bB H1a79vjB7fq9lvJWTQ+E8fkeSpvcg7YDKV7g0W2Rtzva3QT2XtDpkKaFN7MlNBPQkt9y /MW5QlCpQK14EaoXNXT1QWhNIqZR5EPKcgXwv1XA9vgpfH/jfOZr0etFS1df/flE211Q cSrdJHFP9azhA+nBt9y78+an9Zgq6sBt4/CaARNx27FYdqa/cBzlEYDceyMv/XW1mrSq jI+LvcZJZ2yVyU0qManDkvqdkf3YE/H+6WpA7itwLFTIYGzUzwFkl20uhEOGwNk3y33Z 8vvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=AGCxcu8Zr5iFz/D5IBYoiZI7xTOsc/XFFkaHwN6yrAk=; b=mj6q0WKkYXT83KjsrBBP2MxhO68f9nt9diqiFHqLaur3I9t/g+aMQy05apnlRRYw8D BcnjLxh/5XnDvfXnmaDkTa5vERWwU+QPIPNwPEQJ/fzHUfDuREwaGbxEQyr3209JknyO Bhc2V+sTaL95ecDvqV5m96O6snE9Z9E93WYo4etjTPv/FpAZiEWCkG/xJKX35fafLU4d h0ykzyMVaGLCVv9gBwTHDWAOIvJZr14k+THgYErNIU6uiLe0spWCmgaE8P1EB8SPtnmt g+9bQBcirqktmxnIkM1epWFCfATZSc1VYDFa+yVfcFp7m2YYCR4G49Xj4MuDkonlYVGW JkiA== X-Gm-Message-State: ALKqPwfSL5HPB+/RZSvc6jcqxiR6ur5FuBttULy3Y/j2ZngL0ZeiSoEO eGUH1KP6x5luVG55JQHrimXEtA== X-Google-Smtp-Source: AB8JxZqojU0a6wdhw6mP4NUnsIJXNMMbU0IkDnd9uRevUQ6eG6l9PhyllHcqV7XFE3UTyFCm8airmA== X-Received: by 2002:a6b:bb82:: with SMTP id l124-v6mr13148193iof.125.1526860354725; Sun, 20 May 2018 16:52:34 -0700 (PDT) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id p186-v6sm7102776itg.7.2018.05.20.16.52.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 May 2018 16:52:34 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146329 Archived-At: tags 30044 - moreinfo pending found 30044 24.5 close 30044 25.1 quit On 20 May 2018 at 18:37, Claus Fischer wrote: > > On Sun, May 20, 2018 at 06:10:01PM -0400, Noam Postavsky wrote: >> On 20 May 2018 at 16:03, Claus Fischer 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 (# #) ... >> | 2 -> (gud-display-frame) >> | | 3 -> (gud-display-line ".../database.c" 231) >> | | 3 -> (trace-values #) >> | | | 4 -> (display-buffer #) >> | | | 4 <- display-buffer: # >> >> 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!