Garmin Interview Question

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