Game Development Reference
In-Depth Information
Topics Covered In This Chapter:
3 Different Types of Errors
IDLE's Debugger
Stepping Into, Over, and Out
Go and Quit
Break Points
Bugs!
"On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the
machine wrong figures, will the right answers come out?' I am not able rightly
to apprehend the kind of confusion of ideas that could provoke such a
question."
-Charles Babbage, 19th century English mathematician, philosopher, inventor
and mechanical engineer who originated the concept of a programmable
computer.
http://en.wikipedia.org/wiki/Charles_Babbage
If you enter the wrong code, the computer will not give you the right program. A
computer program will always do what you tell it to, but what you
tell
the program to do
might not be the same as what you
wanted
the program to do. A
bugs
is another name for
an error or problem in a computer program. Bugs happen when the programmer has not