* Sluggish Interface to GDB
@ 2008-11-29 20:16 Nordlöw
2008-11-30 1:40 ` Nick Roberts
0 siblings, 1 reply; 3+ messages in thread
From: Nordlöw @ 2008-11-29 20:16 UTC (permalink / raw)
To: help-gnu-emacs
Why is the Emacs GUDInterface to gdb so sluggish? I am using multi-
window debugging.
For example repeatedly step/next hangs communication for seconds,
really disturbing the interface responsiveness.
/Nordlöw
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sluggish Interface to GDB
2008-11-29 20:16 Sluggish Interface to GDB Nordlöw
@ 2008-11-30 1:40 ` Nick Roberts
2008-11-30 4:16 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Nick Roberts @ 2008-11-30 1:40 UTC (permalink / raw)
To: Nordlöw; +Cc: help-gnu-emacs
Nordlöw writes:
> Why is the Emacs GUDInterface to gdb so sluggish? I am using multi-
> window debugging.
>
> For example repeatedly step/next hangs communication for seconds,
> really disturbing the interface responsiveness.
This is too general to be a useful bug report unless it happens for all program
that you debug. I don't see it debugging Emacs. It probably is Emacs that
makes it slow but have you tried gdb on your program from the command line?
What happens there? How deep is your stack? Have you got many watch
expressions in the speed bar? large numbers of local variables? lots of extra
RAM? which GUD related buffers to you have open?, etc, etc...
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Sluggish Interface to GDB
2008-11-30 1:40 ` Nick Roberts
@ 2008-11-30 4:16 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2008-11-30 4:16 UTC (permalink / raw)
To: Nick Roberts; +Cc: help-gnu-emacs, per.nordlow
> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Sun, 30 Nov 2008 14:40:34 +1300
> Cc: help-gnu-emacs@gnu.org
>
> This is too general to be a useful bug report unless it happens for all program
> that you debug. I don't see it debugging Emacs. It probably is Emacs that
> makes it slow but have you tried gdb on your program from the command line?
> What happens there? How deep is your stack? Have you got many watch
> expressions in the speed bar? large numbers of local variables? lots of extra
> RAM? which GUD related buffers to you have open?, etc, etc...
It might be a good idea to introduce an optional feature whereby GUD
would time-stamp the commands it sends to GDB and the responses it
gets. Then at least the time spent waiting for GDB would be instantly
visible.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-30 4:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-29 20:16 Sluggish Interface to GDB Nordlöw
2008-11-30 1:40 ` Nick Roberts
2008-11-30 4:16 ` Eli Zaretskii
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.