It allows you to step through line by line. It works on many Unix-like systems and works for a wide variety of languages. Review collected by and hosted on G2.com.
much better debuggers , or atleast frontend interfaces exist, although a lot of them improve upon gdb in any ways Review collected by and hosted on G2.com.
It is very useful for debugging with proper pointing to where is bug. Review collected by and hosted on G2.com.
Nothing much to dislike about this tool only that it could have more functionalities. Review collected by and hosted on G2.com.
Specify system problems and fix application performance, compatible with C ++ and Pascal.
Debug and dump on different platforms available. Review collected by and hosted on G2.com.
Debugging in Kernel and different Linux distributions is difficult. Review collected by and hosted on G2.com.
It is one of the best IDE available and very optimized to run high memory programs.
It is platform independent and work on all OS.
Free to use. Review collected by and hosted on G2.com.
GDB cannot be used to fix programs that compile with errors. Review collected by and hosted on G2.com.
GDB can do wonder like it can,
At the onset of program, specifying something that could have an effect on its behavior.
Make our code stop at specific condition and many more Review collected by and hosted on G2.com.
GUI is not so appealing but it does not make it less useful. Review collected by and hosted on G2.com.
Breaking at a function (break points)
Check the call stack of a function (backtrace)
Put a read/write watchpoint for a variable/object (memory corruption)
Dumping memory Review collected by and hosted on G2.com.
Live display of code (l command) , there is still inconsistency with the line and variables. TUI extensions help though.
Watchpoints make the code execution extremely slow. Can't even think about putting a watch point while kernel debug.
Kernel debugging with GDB (kgdb) is tedious and needs a lot of setup efforts. Also has lack of support here. Review collected by and hosted on G2.com.
GNU Debugger, which is also called gdb, is the most popular debugger for UNIX systems to debug C and C++ programs.
GNU Debugger helps you in getting information about the following:
If a core dump happened, then what statement or expression did the program crash on?
If an error occurs while executing a function, what line of the program contains the call to that function, and what are the parameters?
What are the values of program variables at a particular point during execution of the program?
What is the result of a particular expression in a program?
GDB allows you to run the program up to a certain point, then stop and print out the values of certain variables at that point, or step through the program one line at a time and print out the values of each variable after executing each line.
GDB uses a simple command line interface Review collected by and hosted on G2.com.
Even though GDB can help you in finding out memory leakage related bugs, but it is not a tool to detect memory leakages.
GDB cannot be used for programs that compile with errors and it does not help in fixing those errors. Review collected by and hosted on G2.com.
I should start my comment saying how much I like the debugger in "distance" mode and it communicates with the Stub and while I have the program on one machine, another is being debugged. For an old bantante program it is very well created. And if it is used to debug Linux the feeling is very good with GDB the program is very easy to use when you know the commands
#include <stdio.h>
#include <stdlib.h>
#include <string.h> Review collected by and hosted on G2.com.
As I mentioned in the first comment, the program is very useful for GDB debugging and for Linux and hakers I have not seen anything better in terms of programming but I feel that it has fallen a little behind with respect to time and should renew Review collected by and hosted on G2.com.
One of the best thing is licence free, sw debugger, no additional hw or license is needed. Easy to use, man is there to help Review collected by and hosted on G2.com.
No much graphical interface, so while started using, it will be harder. Usage of breakpoints is not that much impressive Review collected by and hosted on G2.com.