
able on a very large number of hardware and software platforms. It works just like the graphical debug-
gers, except that it operates at the command line instead of with clicking and dragging.The GNU pro-
ject also supplies a graphical front end to gdb, called DDD (www.gnu.org/software/ddd), also open
source and freely available. Some programmers find this tool far more powerful, because they can
quickly type any command they need rather than looking in a menu; others find it frustrating not to
have the visual aid of a graphical tool while doing complex debugging.You should use whichever tool
you find most comfortable.
The printf Method
Sometimes you ha ...