From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: Emacs and Gud Date: Sun, 6 Jan 2008 00:01:46 +1300 Message-ID: <18303.25498.729804.596134@kahikatea.snap.net.nz> References: <5u9262F1gknejU1@mid.individual.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199530937 27222 80.91.229.12 (5 Jan 2008 11:02:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2008 11:02:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 12:02:37 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 1JB6nT-0002aX-UL for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2008 12:02:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB6n7-0005o0-IZ for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jan 2008 06:02:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JB6mr-0005mZ-K5 for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 06:01:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JB6mr-0005lV-06 for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 06:01:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB6mq-0005lQ-Sh for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 06:01:56 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JB6mq-0007XS-AH for help-gnu-emacs@gnu.org; Sat, 05 Jan 2008 06:01:56 -0500 Original-Received: from kahikatea.snap.net.nz (104.62.255.123.dynamic.snap.net.nz [123.255.62.104]) by viper.snap.net.nz (Postfix) with ESMTP id AFAAA3DA18B for ; Sun, 6 Jan 2008 00:01:53 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id ACBBF8FC6D; Sun, 6 Jan 2008 00:01:47 +1300 (NZDT) Original-Newsgroups: gnu.emacs.help In-Reply-To: <5u9262F1gknejU1@mid.individual.net> X-Mailer: VM 7.19 under Emacs 23.0.50.24 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:50515 Archived-At: > I have recently started using Emacs for my C++ project, and have got ECB > working so that I can browse my code easily. You don't say what system you are using (M-x emacs-version, or better still use M-x report-emacs-bug) > One thing that is not working properly is Gud. I gan start gdb, and I get > standard text debugging, but none of the graphical features (eg breakpoints > in the fringe). I did a bit of Googling Before Googling, it would be a good idea to read the Emacs manual. Assuming that you have Emacs 22.1 there is a whole section for the GDB Graphical Interface. > and on the basis of that setup the > following (via the 'options' menu):- I guess you mean customize. > (gdb-many-windows t) > (gdb-show-main t) but if you have set these directly in you .emacs file you'll need: (setq gdb-many-windows t) (setq gdb-show-main t) In any case you should still get breakpoints in the fringe. > However, graphical debugging is still not working. Can anyone help? What does t say in the mini-buffer when you do "M-x gdb"? -- Nick http://www.inet.net.nz/~nickrob PS GDB isn't very good for C++ but it's getting better. It might be worth getting 6.8 when it comes out early this year.