From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Sluggish Interface to GDB Date: Sun, 30 Nov 2008 06:16:28 +0200 Message-ID: References: <18737.61202.82167.359075@kahikatea.snap.net.nz> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1228018614 25313 80.91.229.12 (30 Nov 2008 04:16:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 04:16:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, per.nordlow@gmail.com To: Nick Roberts Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 05:17:57 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6dkm-000428-I2 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 05:17:53 +0100 Original-Received: from localhost ([127.0.0.1]:56525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6djb-0007kC-V2 for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 23:16:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6djJ-0007k7-Vc for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 23:16:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6djI-0007jv-3X for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 23:16:20 -0500 Original-Received: from [199.232.76.173] (port=52790 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6djH-0007js-Rm for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 23:16:19 -0500 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:46605) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L6djH-0001E3-EO for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 23:16:19 -0500 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KB400100OXBT500@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Sun, 30 Nov 2008 06:18:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.156.55]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KB400ICLPAO4LA0@i_mtaout2.012.net.il>; Sun, 30 Nov 2008 06:18:25 +0200 (IST) In-reply-to: <18737.61202.82167.359075@kahikatea.snap.net.nz> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60246 Archived-At: > From: Nick Roberts > 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.