Home > Navigation > Navigation – Step Into Member

Navigation – Step Into Member

November 29th, 2010

The Step Into Member navigation feature is used in Debug mode only. It allows you to skip unnecessary members while debugging and drill down into the member you choose.

Consider that you are debugging some source code and the current statement has numerous method calls and property references:

IncreaseSalary(FindPersonById(GetPersonId(LastName, FirstName, Age)), Salary)

Here we have three method calls and four property references. The IDE debugger will step into each one. The Step Into Member feature allows you to step into the definite member under the editor caret position, skipping all others. So, instead of stepping through every member call, you can choose the member you would like to step into – just move the text caret on the member name you want to drill into, and click the Step Into Member button on the DXCore Visualize Toolbar, or press the Ctrl+Shift+F11 keyboard shortcut.

For example, if you want to step into the IncreaseSalary method, skipping the LastName, FirstName, Age and Salary property getters, and without stepping into FindPersonById, GetPersonId methods – move the editor caret at the IncreaseSalary method and use Step Into Member. After that the program execution will jump to the first statement inside the IncreaseSalary method you specified.

This is what the Step Into Member icon looks like on the DXCore Visualize Toolbar:

CodeRush Step Into Member Toolbar item

—–
Products: CodeRush Pro
Versions: 10.1 and up
VS IDEs: any
Updated: Nov/30/2010
ID: C039

Similar Posts:

  1. Seamus McGowan
    December 16th, 2010 at 04:43 | #1

    This is a feature built into VS 2008 and VS 2010 and is turned on by default: Options\Debugging\General\Step over properties and operators (Managed only)

    Of course I’m not sure if this plugin handles native code.

  2. December 20th, 2010 at 08:25 | #2

    @Seamus McGowan
    Thanks for the note. This feature allows you to step out methods as well. Or, choose a property you’d like to step into, regardless of the Visual Studio option.