bug
A mistake in a program that makes it behave wrongly.
debugging
Finding, understanding and fixing bugs.
logic error
A bug where the program runs without crashing but gives the wrong result.
trace table
A table with one column per variable (and output), filled in line by line as you run the code by hand.
program state
The values of all the variables at one moment while the program runs.
debug print
A temporary print statement added to show the program state, removed once the bug is fixed.
breakpoint
A marked line where a debugger pauses the program so you can inspect the variables and then step through line by line.