Put in some debug code to find redundant line writes.