Watch: Lawyer, judge get into heated exchange over man accused of shooting at cop.