步入属性/功能(F11)不按预期工作 [英] Step Into Property/Function (F11) doesn't work as expected
问题描述
在Visual Studio 2010中的单步执行属性/功能(F11)没有按照预期工作。
In Visual Studio 2010, the Step Into Property/Function (F11) doesn't work as expected.
它不会踏入属性setter或getter方法。
It doesn't step into property setters or getters.
我转换的解决方案,从的Visual Studio 2005
到 2010
,我想踏进功能属性在一个单独的类库。
I converted the solution from Visual Studio 2005
to 2010
, the function i wanted to step into is a property in a separate class library.
如何才能让它为我期望的工作?
How can I make it work as I expect?
推荐答案
在VS 2010是你跨过属性和经营者(如F10),即使你想踏入(F11)的默认设置。因此,这里的解决方案:
In VS 2010 it is the default setting that you step over properties and operators(like F10) even if you want to step into(F11). So here is the solution:
- 转到工具> Visual Studio中的选项菜单。
- 进入调试>在左窗格中的通用菜单项。
- 在右侧视图中,您将看到在性能和运营商(仅托管)选项步骤。取消选中此选项,然后你所有的设置。
终于找到了这里:<一href="http://www.netomatix.com/post/2010/06/25/Enable-step-into-properties-in-Visual-Studio-Debugger.aspx">http://www.netomatix.com/post/2010/06/25/Enable-step-into-properties-in-Visual-Studio-Debugger.aspx
这篇关于步入属性/功能(F11)不按预期工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!