Investigative code on intermittent failures