Single-stepping with the brain --- PrimoOriginally Posted by Perspective
printf() at strategic places --- Quick and easy
Single-stepping with gdb --- Very powerful once you learn it
Your Mileage May Vary.
Regards,
Dave
Single-stepping with the brain --- PrimoOriginally Posted by Perspective
printf() at strategic places --- Quick and easy
Single-stepping with gdb --- Very powerful once you learn it
Your Mileage May Vary.
Regards,
Dave
Amen, brother. To many people do not use their brains when trying to debug programs.Get the idea?
The idea is for you to learn about progamming, and this means for you to learn something about debugging. The most powerful debugging tool: your brain. The second most powerful debugging tool: printf() (or cout << for you c++ fans). This wonderful forum certainly appears on my list of debugging tools, but not in the top 2.
Oh, well I have my ways to see if the really can use their brains to find out what is going on...
Mr. C: Author and Instructor