debugging duffing