How to Debug

Found the most to the point list of steps to take when debugging

  • Make a guess about what’s going on.
  • Assuming the guess were true, identify what the consequences of that guess would be.
  • Try to make observations that contradict those consequences.
  • If you find a contradiction, your guess is incorrect, so make another one. If not, you have one possible explanation.