previous | start | next

## The Debugger

- All debuggers support a navigational approach by inserting breakpoints in the code.
- When the program reaches any breakpoint, execution stops.
- Breakpoints are particularly useful when you know at which point your program starts doing the wrong thing.
- Some debuggers let you set conditional breakpoints - the program stops only when a certain condition, such as `n == 0`, is met.

previous | start | next