We saw the power of the simple print
statement in the previous example. In a similar way, other simple techniques can be used to debug programs without requiring to resort to a debugger.
Debugging can be thought of as a step-wise process of exclusion until the programmer arrives at the truth—the cause of the bug. It essentially involves the following steps:
No credit card required