Wade: Chapter 7: Debugging and Error Handling

Chapter 7: Debugging and Error Handling


Breakpoint:  used to interrupt a running program immediately before the execution of a programmer-specified instruction. This is often referred to as an instruction breakpoint. … Breakpoints can also be used to interrupt execution at a particular time, upon a keystroke etc.

Commenting out code: to use comment syntax to remove something from the parsed code.

Custom class:  a developer defined class, based on one of the stock classes 

Debugging: the complete control over the program execution.

Error handling: the process of responding to the occurrence of exceptions – anomalous or exceptional conditions requiring special processing – during the execution of a program.


Exception object: 

An event that occurs during the execution of a program that disrupts the normal flow of instructions is called an exception. 

Logic error: a mistake in a program’s source code that results in incorrect or unexpected behavior

Traceback: a report containing the function calls made in your code at a specific point.