Ibland finns det inget sätt att felsöka förutom att stirra på koden tills du blir upplyst