help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and Gud


From: Chris Gordon-Smith
Subject: Re: Emacs and Gud
Date: Sat, 05 Jan 2008 12:36:30 +0000
User-agent: KNode/0.10.4

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]