Virginia's gubernatorial candidates took swings at one another over social issues, energy policies and the economy.