A district judge held the lead prosecutor in contempt for violating evidentiary discovery rules during a trial.