Linux C++

Please, someone knows a way to debug in c + + on linux?

thank you
Build it with debug symbols included ( -g if compiling with g++).

Then run it under gdb, like this:

gdb programName

Type run to start the program running. Type help to see some helpful commands.
valgrind is very good for debugging
Data Display Debugger
http://www.gnu.org/software/ddd/

Also Eclipse IDE though the debugger rarely actually works. But when it does, its great.
http://www.eclipse.org/downloads/packages/eclipse-ide-cc-linux-developers-includes-incubating-components/indigosr1
Last edited on
The CDT plugin for Eclipse could do some help. Though my experience with it is a little bit awful.
This helps thanks all of you .
closed account (S6k9GNh0)
I find DDD pretty decent. It has an incredibly old feel to it but it's still updated actually.
Last edited on
Topic archived. No new replies allowed.