Tracking down errors in compiled writer