Step Into Property/Function (F11) doesn't work as expected

后端 未结 3 1881
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 05:26

In Visual Studio 2010, the Step Into Property/Function (F11) doesn\'t work as expected.

It doesn\'t step into property setters or getters.

I conve

相关标签:
3条回答
  • 2020-11-30 05:50

    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:

    • Go to Tools > Options menu in Visual Studio.
    • Go to Debugging > General menu item in left pane.
    • In right view you will see an option Step over properties and operators (Managed only). Uncheck this option and then you are all set.

    enter image description here

    0 讨论(0)
  • 2020-11-30 06:00

    Worked for me on Visual Studio 2015: I closed VS and deleted folder: .vs (hidden folder, some times together with solution file) and opened again Visual Studio.

    0 讨论(0)
  • 2020-11-30 06:10

    Just vote here and Microsoft will resolve in VS2019 only if we have enough votes.

    https://developercommunity.visualstudio.com/idea/463833/why-step-over-properties-and-operators-managed-onl.html

    0 讨论(0)
提交回复
热议问题