Page 1 of 1

Debugging on Linux/g++

Posted: Thu Feb 12, 2004 10:32 am
by Iceman
Just moved to Fedora Core 1 ... I am porting my old OpenGL code and have had good success so far. Problem is that the gdb debugger sux0rz wrt the M$ Dev Studio debugger.

<font color="yellow"><strong>Anyone know of an industrial strength debugger for Fedora/g++ ? I don't believe Kdevelop is an option at this point ...</strong></font>

Posted: Thu Feb 12, 2004 7:14 pm
by Horizon
You could try DDD. It's just a frontend to gdb, but it has visual breakpointing and step functionality, plus other cool features (it's visual). It's as close to the MS debugger as I've ever seen (on Linux/BSD).

Also, make sure to compile with -g so debugging information gets left in the object files.

Horizon

Posted: Fri Feb 13, 2004 11:43 pm
by MehYam
MS Dev STuddio debgger is teh r0ock.

Posted: Sat Feb 14, 2004 8:07 pm
by DCrazy
Except that it doesn't work on Linux. Image

I hate gdb as well. I solved my problem by not developing for Linux, though that probably isn't an option for you. Image

Posted: Sat Feb 14, 2004 10:05 pm
by fliptw
non-graphical debuging sucks period.

Posted: Sun Apr 04, 2004 3:32 pm
by Marix
Maybe a dumb question, but:
Why is KDevelop not an option?

Posted: Thu Apr 15, 2004 4:11 pm
by Iceman
Marix wrote:Maybe a dumb question, but:
Why is KDevelop not an option?
Lack of documentation ...
Creation of a large file hierarchy mess ...
Crashes while using ...

Posted: Wed Apr 21, 2004 7:35 am
by Marix
Actually kdevelop3 is documented pretty well. and if you create a custom-project you will not have all those gnu-makeutils-files created.