To debug a program, tools should be used. Name 3 examples:
Breakpoint, code is no longer executed until resumed. During this time variables can be checked
Watches, these store the value of a variable whenever it changes
Trace tables, list of variables, outputs, and conditions; and their current value