Skip to content
LearnLoop
← Software Engineering

Debugging: be a detective

See it

Bugs are normal

  • Every programmer writes bugs, every day. It's not a sign you're bad at this.
  • Debugging is detective work: observe β†’ guess β†’ test β†’ fix.
  • Read the error message. It usually tells you where to look.
Observe
what happened?
Guess
why?
Test
change one thing
πŸ’‘ Change only ONE thing at a time, so you know what fixed it.