Debugging CSE 331 University of Washington 1 Ways to get your code right Validation Purpose is to uncover problems and increase confidence Combination of reasoning and test…