Partager via


Debugger.StepOver(Boolean) Method

Definition

Steps over the next function call.

void StepOver(bool WaitForBreakOrEnd = true);
[System.Runtime.InteropServices.DispId(4)]
public void StepOver (bool WaitForBreakOrEnd = true);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member StepOver : bool -> unit
Public Sub StepOver (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 modes.

Attributes

Examples

The following example demonstrates how to use the StepOver method.

public static void StepOver(DTE dte)  
{  
    EnvDTE.Debugger debugger = (EnvDTE.Debugger)dte.Debugger;  
    debugger.StepOver(true);  
}  
Shared Sub StepOver(ByRef dte As EnvDTE.DTE)  
    dte.Debugger. StepOver(True)  
End Sub  

Remarks

StepOver steps over the next function call. See Stepping for more information.

Applies to