From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: gdb-ui bogosity with conditional breakpoints Date: Thu, 06 Apr 2006 09:06:30 +0900 Message-ID: <87k6a3tvnd.fsf@catnip.gol.com> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144282024 28770 80.91.229.2 (6 Apr 2006 00:07:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Apr 2006 00:07:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 06 02:06:59 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FRI1U-0003WK-0X for ged-emacs-devel@m.gmane.org; Thu, 06 Apr 2006 02:06:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FRI1T-0007P7-HG for ged-emacs-devel@m.gmane.org; Wed, 05 Apr 2006 20:06:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FRI1G-0007Ma-Nt for emacs-devel@gnu.org; Wed, 05 Apr 2006 20:06:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FRI1F-0007Kf-Gh for emacs-devel@gnu.org; Wed, 05 Apr 2006 20:06:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FRI1F-0007KZ-AZ for emacs-devel@gnu.org; Wed, 05 Apr 2006 20:06:37 -0400 Original-Received: from [203.216.5.72] (helo=smtp02.dentaku.gol.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FRI4q-0002pk-EV; Wed, 05 Apr 2006 20:10:20 -0400 Original-Received: from 203-216-98-075.dsl.gol.ne.jp ([203.216.98.75] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1FRI1B-0003Kx-Gl; Thu, 06 Apr 2006 09:06:33 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id B5D022F42; Thu, 6 Apr 2006 09:06:30 +0900 (JST) Original-To: emacs-devel@gnu.org System-Type: i686-pc-linux-gnu Original-Lines: 30 X-Abuse-Complaints: abuse@gol.com X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:52461 Archived-At: 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.