ST EK List:
5.4.1E Locating and correcting errors in a program is called debugging the program.
5.4.1F Knowledge of what a program is supposed to do is required in order to find most program errors.

Customizing and Debugging

Ruthless Suggestions from Al

On this page, you will edit the word lists used by the sprites and debug any problems.

  1. Open your U1L2-Gossip project. Edit these three reporter blocks to change the phrases that the program uses. (See instructions in the box below.) Be creative and funny, but thoughtful.
    who block does what block who2 block

    How to Edit a Block

    1. Find the block in the scripting area or the colored palettes on the left.
    2. Control-click (or right-click) on the block and choose "edit..."
    3. Make changes to the block's internal code. (Instructions are already inside these blocks.)
    4. Click OK when you're satisfied. (Or click "Cancel" if you don't want to make changes.)
    How to edit a block

This process of testing, finding problems, and fixing them is called debugging.

  1. Make sure your program works. Test each block as well as the program as a whole. If something doesn't work, don't go on without fixing it.
  2. Now Is a Good Time to Save
  1. Make the sprites gossip only when you click on them.
  2. Change the background on the Stage.
    change the background on the stage
  3. Change the costumes to anything you like. You can use a photograph or picture from the Internet by dragging the image into the costume area for that sprite.
    If the picture you choose is too big, set its size to something less than 100% using set size to ( )%. You may also want to adjust the rotation style of your sprite using the buttons near the upper left corner of your scripting area.
    can rotate button rotating puppy only face left/right button left/right facing puppy don't rotate button non-rotating puppy