debug methodology