GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed. GDB can do four main kinds of things (plus other things in support of these) to help you catch bugs in the act:, gdb is in the gnu package on CEC machines. If you don't have this package loaded then type pkgadd gnu at a shell prompt. If you can run g++, then you will be able to run gdb. gdb can only use debugging symbols that are generated by g++. For Sun CC users, there is the dbx debugger which is very similar to gdb., To use GDB you must compile with the -g compiler flag. This is so the compiler and linker keep all the useful debugging information (symbol and code information)., GDB, or GNU Debugger, is a powerful tool for debugging programs written in C and C++. It allows developers to see what is occurring inside a program while it executes, or what it was doing at the moment it crashed., The Online GDB Compiler allows for seamless, collaborative debugging, so you and your team can whip that code into shape together. It’s like a coding jam session, but with fewer guitars and more debugging tools!, https://sourceware.org/pub/gdb/releases/ (mirrors) Sources to the current development version are also available using HTTPS, git and WWW. See current. We've got GDB releases going back to the 2.4/2.8 timeframe in 1988. They're all on-line in the GDB HTTPS directory in:.