Add markers to track error lines.