You could also try turning on the "watch AI movement" option. That would slow everything down and let you pinpoint where the problem occurred.