Debugging for Dummies Prophets, Chapter 2

Today, we're going to learn how to fix that pesky bug that's been driving you crazy.

It's a real doozy, but don't worry, we'll get to the bottom of it.

public void main() {
		int error = 0;
		while (error != 0) {
			System.out.println("Error: " + error);
			error += 1;
		}
		System.exit(0);
	}

As you can see, this is some pretty standard debugging fare.

But don't worry, we'll add some flair to make it more interesting.

Did you know that the best way to debug is to just add more print statements?

It's like a game of "Find the Error"!

Just remember, the more print statements, the more fun it is!

Continue to Chapter 3: Advanced Debugging Techniques

Don't forget to grab a snack while you're at it!

Debugging can be hungry work.