Udostępnij za pośrednictwem


Debugger3.StepInto(Boolean) Method

Definition

Steps into the next function call, if possible.

void StepInto(bool WaitForBreakOrEnd = true);
[System.Runtime.InteropServices.DispId(3)]
public void StepInto (bool WaitForBreakOrEnd = true);
[<System.Runtime.InteropServices.DispId(3)>]
abstract member StepInto : bool -> unit
Public Sub StepInto (Optional WaitForBreakOrEnd As Boolean = true)

Parameters

WaitForBreakOrEnd
Boolean

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

Implements

Attributes

Examples

The following example shows how to use the StepInto method.

public static void StepInto(EnvDTE80.DTE2 dte)  
{  
    EnvDTE90.Debugger3 debugger = (EnvDTE90.Debugger3)dte.Debugger;  
    debugger.StepInto(true);  
}  
Sub StepIntoAndNotify  
    DTE2.Debugger.StepInto(True)  
    MsgBox("The debugger stepped into the function.")  
End Sub  

Remarks

For more information, see Code Stepping Overview.

Applies to