Your step-into request resulted in an automatic step-over of a property or operator

后端 未结 8 1068
余生分开走
余生分开走 2020-12-04 18:52

I am getting the following error message while running .net 3.5 applciation

Your step-into request resulted in an automatic step-over of a property

相关标签:
8条回答
  • 2020-12-04 19:31

    VS2017 and VS2019:

    Tools > Options > Debugging > Uncheck "Step over properties and operators > (Managed only)".

    0 讨论(0)
  • 2020-12-04 19:32

    The setting for this in VS2010 is under: Tools -> Option -> Debugging (near the middle)

    0 讨论(0)
  • 2020-12-04 19:32

    As answered by other people this is an informational message from Visual Studio telling you that it could have stepped into a line of code but rather stepped over it due to current dev environment settings.

    There are three ways to change this behaviour in VS2012:

    • Change the settings: Tools->Options->Debugging->General->Step over properties and operators OR
    • Right click on the line of code to get the context menu. Then untick: Step over properties and operators OR
    • Select 'Step into Specific' in the right click context menu which will ask you which specific function you would like to step into. It will list all the properties/functions involved in the current source line.
    0 讨论(0)
  • 2020-12-04 19:33

    To be more specific: the option to enable in Visual Studio 2010 is:

    Tools->Options->Debugging->General->Enable property evaluation and other implicit function calls

    0 讨论(0)
  • 2020-12-04 19:34

    In Visual Studio 2013: right click on the line that caused the message to pop-up. This will bring up the context menu. Uncheck the option: Step over properties and operators.

    0 讨论(0)
  • 2020-12-04 19:39

    Other posts have the correct answer, which state that you can change the option in Tools > Options > Debugging > Step over properties and operators (Managed only) in Visual Studio. I wanted to add an image from the Options dialog for those who are visual. Uncheck the property if you want to perform Step Into (F11) without automatic Step Over (F10).

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