Trace through code in class so students feel more comfortable doing it on their own.

Like(469 Likes)
  • Many novice students don’t think to trace their code when a bug arises.
    • Demonstrating in class how useful it is to trace through code will encourage students to do so at home.
  • Tracing through a program also helps students get better at reading code and figuring out how it executes.
  • You can use a debugger built into your IDE (integrated development environment) to assist students with tracing.