Debugging fundamentals
As we mentioned previously, debugging typically comes after testing, when errors and bugs are detected. The general goal of debugging is to identify the specific causes of those bugs and errors that are detected in testing processes, and, from there, adjust the program accordingly.
More specifically, in a debugging process, a developer watches the interactions between, and the changes taking place in, the variables of their program. By seeing how each different function, method, or even line of code alters the value and functionality of the variables, the developer can narrow down the potential causes for the bugs and errors in the program. To that end, there are a number of common debugging methods that programmers ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access