all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: karl-heinz@schneider-inet.de
Cc: 11265@debbugs.gnu.org
Subject: bug#11265: 24.0.94; gdb-mi very slow on Windows
Date: Tue, 17 Apr 2012 20:10:56 +0300	[thread overview]
Message-ID: <83zkaaqo67.fsf@gnu.org> (raw)
In-Reply-To: <dcc96fc5fe4e5fe967c637df92aab85e@schneider-inet.de>

> Date: Tue, 17 Apr 2012 16:21:05 +0200
> From: Karl-Heinz Schneider <karl-heinz@schneider-inet.de>
> 
> I use Emacs for C/C++ development on Windows XP. Since update to Emacs
> 24.0.94 I discovered that debugging with gdb-mi is very slow.

Which version did you upgrade from?  IOW, with which version are you
comparing the speed?

> Right after starting debugging performance is ok, but after a while
> using the debugger (adding breakpoints, removing breakpoints setting
> conditions, etc...) becomes very very slow.
> 
> After a while Emacs is consuming 100% of CPU power for a while just
> for typing a single character into the gdb-buffer (not sending it to 
> GDB).
> GDB commands like "next" or "step" take then several seconds until
> all buffers are refreshed.

When this slowdown happens, is the GDB interaction buffer displayed?
If so, does it help to delete the window where the interaction buffer
is shown, so that the buffer is not displayed in any window?

(I'm trying to establish whether the slowness is related to display or
to something else.)

Another thing to try is start GDB like this:

  M-x gud-gdb RET

and see if the resulting session is as fast as what you were used to
before 24.0.94.





  reply	other threads:[~2012-04-17 17:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 14:21 bug#11265: 24.0.94; gdb-mi very slow on Windows Karl-Heinz Schneider
2012-04-17 17:10 ` Eli Zaretskii [this message]
2012-04-18  1:56   ` Chong Yidong
2012-04-18 17:00     ` Eli Zaretskii
     [not found]   ` <4a9b5bb0b0553d31ee6df5994fd8a56d@schneider-inet.de>
2012-04-18 16:30     ` Eli Zaretskii
2012-04-19  6:10       ` Karl-Heinz Schneider
2012-04-20  7:49         ` Eli Zaretskii
2012-04-24 14:57           ` Karl-Heinz Schneider
2019-11-01 19:51             ` Stefan Kangas
     [not found]               ` <21C01CB2-EBC0-47D7-8F57-D5801A15C5FD@schneider-inet.de>
2019-11-05 13:46                 ` Stefan Kangas
     [not found]   ` <669ef4eefd097d3da673c9f368045ea2@schneider-inet.de>
2012-04-18 16:31     ` Eli Zaretskii

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=83zkaaqo67.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=11265@debbugs.gnu.org \
    --cc=karl-heinz@schneider-inet.de \
    /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.