David Brown wrote:
> On Thu, Dec 20, 2007 at 10:50:29AM -0800, Gus Wirth wrote:
> 
>> Why, after more than 20 years of existence, are the debuggers so
>> primitive (rhetorical question, GNU's not Unix ...)?
> 
> Many C developers don't really use debuggers.  I know for myself it's been
> many months since I've run one.  Even when I do, it's usually to set a
> write breakpoint to figure out who's [EMAIL PROTECTED] code is stepping on my 
> memory.

Maybe that's why C code is so buggy?

>> So what alternatives are out there to the venerable gdb and its GUI
>> frontend ddd? I'm looking for something that has a nice GUI frontend
>> that does everything ddd does, plus shows the code in tabbed windows,
>> hover or right click on a function name to find out where it is
>> declared. It should also do code roll up, and it would be nice if it
>> could hide (or change color) "dead code" i.e. code not used due to
>> ifdef's. I've got a longer list but this is a start.
> 
> ddd is rather old.  You might look into 'insight'.  It's still based on
> gdb, but built into it instead of just running it.
> 
>   http://sources.redhat.com/insight/

This looks interesting. I found a Fedora package here:
<http://math.ifi.unizh.ch/fedora/7/i386/SRPMS.gemi/> which rebuilds fine
in Fedora 8. Considering that it is a Redhat project I find it a bit
bizarre that it's not an official package anywhere.

> If you want the IDE stuff you're mentioning, you'll want to use something
> like eclipse, which will have a gdb pluging.

The Eclipse folks have an official build for C/C++ called CDT available
directly off the download page. I've been interested in learning some
Eclipse stuff and I had an older version sitting around that I've never
used, so maybe this will get me to learn a little bit.

Thanks for the links.

Gus

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to