On this page, you will review what you've learned about debugging in Snap!.
Debugging is the art of identifying errors in computer programs and fixing them.
Grace Hopper (1906-1992) was an United States Navy rear admiral and pioneer of computer programming. She is best known for her trailblazing contributions to computer programming, software development, and the design and implementation of programming languages.
One early case of "debugging" was when an actual moth got stuck inside a computer Grace Hopper was working with in 1947. Here is a page from her notebook with the moth pasted in.
Pause all in Unit 1 Lab 3 Page 5: Using Pinwheel to Make PolygonSay in Unit 1 Lab 3 Page 2: Angles and Turning
places breaks in your code so you can step through the code at your own pace.
can give you information about the state of your program while it's running.
) lets you control how quickly Snap! steps through the blocks of your code.
) will also show the value of that variable or sprite attribute.
lets you do the equivalent of checking the box for script variables, which aren't in the palette.