debuger

Posted by Proto-6 on Thu 06 Feb 2003 04:44 AM — 2 posts, 11,222 views.

Canada #0
can any one hear sajest a good debugger for a newbie coder
Australia Forum Administrator #1
The standard debugger with Unix or Cygwin is gdb (GNU debugger) however it can be a bit daunting. There are some posts on this forum showing how to use it, you could search for those.

If you are using Microsoft Visual C++ it has a nice debugger that lets you set breakpoints and evaluate variables.

Finally, a simple debug technique that often works is to simply put "printf"s inside your code while you are testing it.

eg.

printf ("Variable A is now %i\n", A);