Debug complet, no spaghetti code