谢谢
百度了一下 据说这是微软的一个Bug:
http://connect.microsoft.com/SQLServer/feedback/details/625260
[Denali SSMS] : F5 in Object Explorer no longer refreshes; triggers debug instead 填写者 AaronBertrand
When Object Explorer is in focus, F5 should refresh the Object Explorer tree, starting at the highlighted node. This is how it works in 2008 R2 SSMS and previous versions as well.
In Denali's version of SSMS, F5 triggers the marginally useful Debugging feature. If I'm focused on Object Explorer, why would you make any assumption that I want to debug the window that is not focused and just happens to be the last viewed window, and why would you hook it to a fairly entrenched key stroke that means refresh or execute in almost every other context in a Windows world?
(Also note, if you have Object Explorer focused and no query windows are open, F5 does nothing.)
Start Debugging should only occur if you use Alt+F5, as the menu item Debug > Start Debugging suggests. Why it happens for F5 is surely a mistake.
Please fix this.