GNU bug report logs -
#30044
Emacs: Gud-mode: Debugging with gud: Window switching problem
Previous Next
Reported by: Claus Fischer <claus.fischer <at> clausfischer.com>
Date: Tue, 9 Jan 2018 16:28:02 UTC
Severity: normal
Found in version 24.5
Fixed in version 25.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Tue, 9 Jan 2018 13:33:11 +0100
> From: Claus Fischer <claus.fischer <at> clausfischer.com>
>
> A few years ago, I filed a bug about debugging unter Emacs with
> gud and gdb.
>
> The problem is that often times when a halt at a breakpoint requires
> a source file to load, the source file replaces the *gud-something*
> buffer, which is extremely disruptive to the work flow. One expects
> to continue typing in gud but finds oneself instead typing into some
> source file buffer.
How do you invoke GDB? Is it "M-x gdb RET" or "M-x gud-gdb RET"? I
suggest to try the former, and if you already do that, try the command
"M-x gdb-many-windows RET" after the debugging session starts. I also
suggest to start the debugger in a separate frame, and switch to the
original frame when you want to work on your windows you had before
starting the debugging session.
This bug report was last modified 7 years and 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.