From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Gordon-Smith Newsgroups: gmane.emacs.help Subject: Re: Emacs and Gud Date: Sat, 05 Jan 2008 12:36:30 +0000 Message-ID: <5u9bkjF1grnohU1@mid.individual.net> 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 1199631024 25661 80.91.229.12 (6 Jan 2008 14:50:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jan 2008 14:50:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 06 15:50:44 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 1JBWpm-0000H6-Vk for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jan 2008 15:50:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JBWpQ-0002we-6g for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jan 2008 09:50:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 66 Original-X-Trace: individual.net ebgFR6ihetqdLVTqDxV0igYySrWYFlrNudjVlUAvgK46o/pU1c Cancel-Lock: sha1:EjgRNQrow8dBAi9Wuy/f2RO5Eng= User-Agent: KNode/0.10.4 Original-Xref: shelby.stanford.edu gnu.emacs.help:155094 X-Mailman-Approved-At: Sun, 06 Jan 2008 09:49:41 -0500 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:50534 Archived-At: Nick Roberts wrote: Thanks for your comments. > > 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 GNU Emacs 22.1.1 (i586-suse-linux-gnu, GTK+ Version 2.12.0) of 2007-11-23 on dede > 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. Yes - That's what Google found > > > and on the basis of that setup > > the > > following (via the 'options' menu):- > > I guess you mean customize. Yes - the menu selection is Options->Customize Emacs > > > (gdb-many-windows t) > > (gdb-show-main t) > The above are what Emacs put in the .emacs file. I didn't edit it directly. > 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"? > It says:- Run gdb (like this): gdb /home/chris/mydata/Projects/SimSoup/simsoup-cpp/simsoup/simsoup simsoup is the name of my program. Hitting enter starts gdb, but only in text mode. Since my original posting I have found that if I don't load ECB, then graphical debugging works. However, I would like to be able to use both ECB and graphical debugging. Any thoughts? Chris Gordon-Smith London www.simsoup.info