* GDB and Disappearing Text
@ 2007-08-05 16:19 Tomo Lazovich
2007-08-05 20:57 ` Nick Roberts
0 siblings, 1 reply; 2+ messages in thread
From: Tomo Lazovich @ 2007-08-05 16:19 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1.1: Type: text/plain, Size: 556 bytes --]
When I'm working on some C code in Emacs and it's time to test, I split the window and bring gdb up in one of them, leaving the code in the other one. When I send the "run" command to gdb, after setting my break points or doing anything else, the code disappears from the first window leaving it blank. This is really annoying, especially if I need to edit the code based on the results I get. Does anyone know how to stop this from happening?
---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
[-- Attachment #1.2: Type: text/html, Size: 675 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GDB and Disappearing Text
2007-08-05 16:19 GDB and Disappearing Text Tomo Lazovich
@ 2007-08-05 20:57 ` Nick Roberts
0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2007-08-05 20:57 UTC (permalink / raw)
To: Tomo Lazovich; +Cc: help-gnu-emacs
> When I'm working on some C code in Emacs and it's time to test, I split the
> window and bring gdb up in one of them, leaving the code in the other
> one. When I send the "run" command to gdb, after setting my break points or
> doing anything else, the code disappears from the first window leaving it
> blank.
I don't understand why the code disappears. What do you see in its place?
A new buffer? The same buffer, but blank? Just the GUD buffer?
Have you compiled with -g?
If you type "frame" in the GUD buffer what do you get?
> This is really annoying, especially if I need to edit the code based on the
> results I get. Does anyone know how to stop this from happening?
> (I'm using emacs 21.3 with cygwin's gdb on Windows XP SP2).
Emacs 22.1 has been released recently. Can you see if you have the same
problem with this version. (Warning: it has a new GDB mode).
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-05 20:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-05 16:19 GDB and Disappearing Text Tomo Lazovich
2007-08-05 20:57 ` Nick Roberts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).