Garmin interview question

How do you go about finding a bug in your code?