Debugging
Sometimes your program doesn't work how you want it to or at all. When this happens, you need to work out what is wrong so you can fix it. This is called debugging. You can use the print line (see below) which calls up a dialogue box letting you know if a peice of your code is working how you would like. To check a particular peice of code you need to write the print-line command underneath it. Rubber duck debugging is another way of working out what is wrong with your program. How it works is you place a "rubber duck", any object or preferably a person to talk to, and talk through your code out loud explaining what it is meant to do and what it is doing. If those things fail to match up, that is probably your bug. You can also exaggerate your output to help you find a bug. For example: if your ellipse has disappeared from your screen use the number scrubber or type in a big number to their properties to help you find where it went (most likely off the canvas.)
![Programming table about debugging.](https://static.wixstatic.com/media/b86045_773b9778ebe044fe982606fe129cec6a~mv2.png/v1/fill/w_603,h_588,al_c,q_85,enc_auto/b86045_773b9778ebe044fe982606fe129cec6a~mv2.png)