NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Stepping Into a Specific Function

When you are stepping into a nested function call, you can use Step Into Specific Function, located on the shortcut menu, to choose which function you want to step into. For example, on a call to Func1(Func2), you could choose to step into Func1 or Func2. This command works for any number of nesting levels.

In addition, you can use Step Into Specific Function to step into some C++ member functions, such as MemberFn in the following code:

CMyClass::MemberFn();

You cannot use Step Into Specific Function with C++ virtual functions.

To step into a specific function

  1. Advance the execution point to the function call you want to step into. (You might use a breakpoint, Step Into, Step Over, or Run To Cursor.)
  2. Right-click on the source window to open the shortcut menu.
  3. From the shortcut menu, click Step Into Specific Function and choose the function you want from the submenu.

    The debugger executes the function call and breaks at the beginning of the selected function.

See Also

Execution Control