Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Help students find bugs by drawing or writing out what their code does at each step.

Share Help students find bugs by drawing or writing out what their code does at each step. with FacebookShare Help students find bugs by drawing or writing out what their code does at each step. with Twitter
  • This will help students see exactly where their code is going wrong, so they know what part of their code needs to be fixed.
  • This can also help students understand how their programs run, so in the future debugging will be easier.

More about this tip

Tags

  • CS 1
  • Intro Programming
  • Student-Faculty Interaction
  • Development Methods
External Source

Teaching with Logo: Building Blocks for Learning by Molly Watt & Daniel Watt

Other Tips By
Other Tips By Daniel Watt
Daniel Watt

Similar tips

Tell students they have to believe that some things just work before they will understand why it works because they need exposure to a lot of material before some concepts make sense individually.
Introduce students to App Inventor by starting with buttons, images, labels, and text boxes because they tend to find these basic tools intuitive and easy to use.
Give students an opportunity (or force them) to use GDB and Valgrind. It teaches them how to use important debugging tools, it develops their debugging skills and it improves their code designing skills and code testing skills.
  • CSTT Facebook
  • CSTT Twitter

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Footer Icons by Mohammed Alyousfi. Powered by Drupal.

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College