步入属性/函数 (F11) 未按预期工作 [英] Step Into Property/Function (F11) doesn't work as expected
本文介绍了步入属性/函数 (F11) 未按预期工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 Visual Studio 2010 中,步入属性/函数 (F11) 无法按预期工作.
In Visual Studio 2010, the Step Into Property/Function (F11) doesn't work as expected.
它不会进入属性设置器或获取器.
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 中的工具">选项"菜单.
- 转到左侧窗格中的调试 > 常规菜单项.
- 在右侧视图中,您将看到一个选项跳过属性和运算符(仅限托管).取消选中此选项,然后就大功告成了.
这篇关于步入属性/函数 (F11) 未按预期工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文