Wednesday, 25 July 2007

Debugging

There was a time when I considered myself one of the best programmers in the world. That might sound childish, and yes, I was rather childish then, but had a lot of enthusiasm and eagerness to try out different things. Slowly, I started drifting away from the right path, and started coding without really knowing what I am upto and what I am writing. And there fell the curtains for my show.

But recently, my job requires me to do a lot of debugging, and I've started learning what I should have learnt during my college days. Debugging applications really teaches you a lot of stuff. - the process of compilation, assembly language, how registers are used, memory allocation (the list is not gonna end).

So, people, do no recompilation to debug by adding extra logs. Reach out for the debuggers, painful, yet enjoyable.....

There are a few cool articles about debugging in codeproject.com. And the documentation that comes with Windows debuggers kit is an ocean of knowledge.