If you are using an integrated editor for your compiler, it should have a "debugger" option that will allow you to step through your code, one line at a time, and at the same time, watch several variable values to see how they're changing, etc.
printing out a quick variable is a very valuable debugging aid, as well. Even if you're not running the program in "debug" mode.



3Likes
LinkBack URL
About LinkBacks



