Computer Association of SIUE - Forums

CAOS Supported Groups => LUUCS => Topic started by: R. Andrew Lamonica on 2002-08-28T18:50:49-05:00 (Wednesday)

Title: Linux Debugger
Post by: R. Andrew Lamonica on 2002-08-28T18:50:49-05:00 (Wednesday)
I am (and have been) looking for a good Linux C++ Debugger.  I would like it to have a "watch" window, a line step option, some kind of easy to understand pointer following, and a GUI would be nice.  I have tried gdb and am sick of fighting with it’s command line interface.  I have tried DDD and could not seem to find even a watch window in all its options.  In general, I am accustom to Microsoft’s easy-to-use debugger and right now I have reached to point where I would be thrilled just to find a Linux tool that is easier than putting printf's in my code.
Title: Re: Linux Debugger
Post by: Peter Motyka on 2002-08-28T22:55:22-05:00 (Wednesday)
DDD has a "watch" feature.  It goes on in the area towards the top, which I believe they refer to as the "data window".  Anyway, if you look at this screenshot, you will see the data stored in the binary tree.

http://tofu.cs.siue.edu/huffman.jpg (http://tofu.cs.siue.edu/huffman.jpg)
Title: Re:
Post by: R. Andrew Lamonica on 2002-08-29T10:47:46-05:00 (Thursday)
I have seen the Tree screenshot before and it was very impressive.  However, having had a little experience trying to get DDD to do normal tasks like step through code and give me a list of the variables in scope, I am most discouraged.:-(   I will continue to do battle with DDD’s interface until something better comes along, but only because it looks like it has more potential than gdb.
Title: Re:
Post by: William Grim on 2002-08-29T13:49:59-05:00 (Thursday)
Well, I tried kdbg a couple times, but haven't really had to use any debuggers lately as I've been working on other stuff.

It was nice from what I could tell and mimiced MSVC quite a bit.

http://members.nextra.at/johsixt//kdbg.html is the site for it; http://members.nextra.at/johsixt//kdbgshot.html are the screenshots.

It has the "watch" feature I think you are looking to get.
Title: Re:
Post by: William Grim on 2002-08-29T13:54:01-05:00 (Thursday)
The links again:

http://members.nextra.at/johsixt//kdbg.html and http://members.nextra.at/johsixt//kdbgshot.html .

Sorry, didn't realize I had to use HTML tags here.
Title: Re:
Post by: William Grim on 2002-08-29T13:56:45-05:00 (Thursday)
Okay, third time's a charm:

kdbg (http://members.nextra.at/johsixt//kdbg.html)

kdbg screenshots (http://members.nextra.at/johsixt//kdbgshot.html)
Title: Re: Linux Debugger
Post by: Stiffler on 2002-08-29T17:07:45-05:00 (Thursday)
NOTE: You should be able to edit the posts that you create. Just click the edit button on the post you want to edit.

Jon