Reputation: 1810
What is debugging a code and how would I go about this ?
Upvotes: 2
Views: 233
Reputation: 3829
Debugging is the process to in which you make sure your code contains no bugs (or at least as few as possible ;) ).
And there is no "way to go about this" per se. But there are widely accepted techniques that are time-proven to work (as you will see in the first link).
There are also specialized tools for when in the need to debug some specific peace of code... but that will always depend on your needs.
Upvotes: 2
Reputation: 2009
Debugging code is observing it's run-time behavior, typically through a rich IDE such as Eclipse or Visual Studio. You can inspect the values assigned to variables and set breakpoints in the code where you are basically saying that you would like to start observing the programs behavior when that line of code is executed.
Upvotes: 0