all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
Subject: gdb-ui bogosity with conditional breakpoints
Date: Thu, 06 Apr 2006 09:06:30 +0900	[thread overview]
Message-ID: <87k6a3tvnd.fsf@catnip.gol.com> (raw)

I'm running a program invoked with Emacs gdb-ui with a conditional
breakpoint.  Normally gdb will appear to just run silently until it hits
the breakpoint and the condition evaluates to true (it's somewhat
slower than normal because of gdb's involvement, but in many cases,
quite usable).

However, using gdb-ui, it appears to be notifying Emacs _every time_ it
hits the breakpoint, even when the condition is not true!  As a result
it's running, but the "run status" in the mode-line keeps flickering
between "[running]" and "[stopped]", and the "current location" icon in
the fring is flashing (at the breakpoint position).

This _drastically_ slows down execution, far more than the normal speed
penalty for using a conditional breakpoint.  It also insists on popping
up the source window every time it hits the breakpoint (even though it
doesn't actually stop), which obviously messes up the user's window
arrangement (continually!).

Is there anyway to disable this behavior?  If so, I think it should be
the default -- the icon and mode-line flashing is not particularly
useful, and the annoyance level is fairly high.

Thanks,

-Miles
-- 
(\(\
(^.^)
(")")
*This is the cute bunny virus, please copy this into your sig so it can spread.

             reply	other threads:[~2006-04-06  0:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-06  0:06 Miles Bader [this message]
2006-04-06 22:50 ` gdb-ui bogosity with conditional breakpoints Nick Roberts
2006-04-07  2:29   ` Miles Bader

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=87k6a3tvnd.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    /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.