A breakpoint in a code is that point (or line of code) where you want the program execution to pause for a while. When you were cooking pizza and adding ingredients, suppose you wanted to know at any instant which ingredient was about to be added, you can set a breakpoint to actually make the interpreter pause at the line where the variable contained the name of the ingredient to be added. After a breakpoint is set, you can see which value a variable assumes under the variables frame in the debug window.
There are two types of breakpoints, which are as follows: