The shooting deaths of two officers, who were close friends as well as colleagues, on a small Virginia college campus on Tuesday left a community stunned and investigators determined to learn more about the attack by a lone suspect who was later captured.