Export (0) Print
Expand All

Debugger.StepInto Method

Steps into the next function call, if possible.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

void StepInto (
	[OptionalAttribute] [InAttribute] bool WaitForBreakOrEnd
)
void StepInto (
	/** @attribute InAttribute() */ /** @attribute OptionalAttribute() */ boolean WaitForBreakOrEnd
)
function StepInto (
	WaitForBreakOrEnd : boolean
)

Parameters

WaitForBreakOrEnd

Set to true if this function call should wait until either Break mode or Design mode is entered before returning. Set to false if you want this call to return immediately after causing the debugger to begin execution. Upon return the debugger could be in Design, Break, or Run modes.

StepInto steps into the next function call, if possible. See Stepping for more information.

The following example demonstrates how to use the StepInto method.

To test this method:

  1. Set a breakpoint on the function call in the target application.

  2. Run the target application in the debug mode.

  3. When the application stops at the breakpoint, run the add-in.

public static void StepInto(DTE dte)
{
    EnvDTE.Debugger debugger = (EnvDTE.Debugger)dte.Debugger;
    debugger.StepInto(true);
}

Community Additions

ADD
Show:
© 2014 Microsoft