patch compare debugging