Debug rotation and code amelioration