How to: Step Into Properties and Operators in Managed Code
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
Managed only |
||||
Pro, Premium, and Ultimate |
Managed only |
Starting with Visual Studio 2008 SP1, the debugger steps over properties and operators in managed code by default. In most cases, this provides a better debugging experience. You can disable this behavior if you want the debugger to step into a property or operator.
The Step Into Specific command allows you to step into a property or operator, even when automatic stepping into properties and operators is turned off. For information about the Step Into Specific command, see How to: Step Into a Specific Function.
To enable stepping into properties and operators
On the Tools menu, click Options.
In the Options dialog box, click Debugging from the box on the left side.
If the Debugging category does not appear, select the Show all settings check box.
In the General box, clear the Step over properties and operators (Managed only) check box.
Click OK.
To disable stepping into properties and operators
On the Tools menu, click Options.
In the Options dialog box, click Debugging from the box on the left side.
In the General box, select the Step over properties and operators (Managed only) check box.
Click OK.
See Also
Tasks
How to: Step Into a Specific Function