Court is hearing that a man who stabbed a professor and two students in a University of Waterloo gender studies class last year may have experienced a psychotic break in the weeks before the attack.