The more code you write before you start debugging, the harder it is to find the problem. If you have an example from a book, or a program you wrote that is similar to what you are working on, start w...The more code you write before you start debugging, the harder it is to find the problem. If you have an example from a book, or a program you wrote that is similar to what you are working on, start with that. The second problem is that when you’re getting started, you might not know how to choose steps that get from x = 5 to the program you’re trying to write.