Debugger.StepInto Method
Steps into the next function call, if possible.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub StepInto ( _
WaitForBreakOrEnd As Boolean _
)
void StepInto(
bool WaitForBreakOrEnd
)
void StepInto(
[InAttribute] bool WaitForBreakOrEnd
)
abstract StepInto :
WaitForBreakOrEnd:bool -> unit
function StepInto(
WaitForBreakOrEnd : boolean
)
Parameters
WaitForBreakOrEnd
Type: System.BooleanSet 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.
Remarks
StepInto steps into the next function call, if possible. See <PAVE OVER> Code Stepping Overview for more information.
Examples
The following example demonstrates how to use the StepInto method.
To test this method:
Set a breakpoint on the function call in the target application.
Run the target application in the debug mode.
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);
}
Shared Sub StepInto(ByRef dte As EnvDTE.DTE)
dte.Debugger.StepInto(True)
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.