Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

How to: Step Into Properties and Operators in Managed Code

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not applyTopic applies

Managed only

Topic does not apply

Standard

Topic appliesTopic applies

Managed only

Topic does not apply

Pro and Team

Topic appliesTopic applies

Managed only

Topic does not apply

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

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

  1. On the Tools menu, click Options.

  2. 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.

  3. In the General box, clear the Step over properties and operators (Managed only) check box.

  4. Click OK.

To disable stepping into properties and operators

  1. On the Tools menu, click Options.

  2. 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.

  3. In the General box, select the Step over properties and operators (Managed only) check box.

  4. Click OK.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft