Catching the bugs is the most exciting part of the job. It's where you get to find all the mistakes that make you wonder how anyone could be so careless.
Here's a list of common bugs to watch out for:
For more debugging tips, check out our next chapter: The Bug Squad.
Let's put our newfound knowledge to the test with an example. Here's a simple program that's just begging to be debugged:
x = 5
y = 5
z = x + y
print(z)
Can you spot the bug? Debugging Practice
We're not just talking about any old debugger here. We're talking about the most advanced debugging tools in the business. Like the Debugging Tools.