Debugger3.StepOver Method (Boolean)

Steps over the next function call.

Namespace:  EnvDTE90
Assembly:  EnvDTE90 (in EnvDTE90.dll)

Syntax

'Declaration
Sub StepOver ( _
    WaitForBreakOrEnd As Boolean _
)
void StepOver(
    bool WaitForBreakOrEnd
)
void StepOver(
    [InAttribute] bool WaitForBreakOrEnd
)
abstract StepOver : 
        WaitForBreakOrEnd:bool -> unit 
function StepOver(
    WaitForBreakOrEnd : boolean
)

Parameters

  • WaitForBreakOrEnd
    Type: System.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.

Implements

Debugger2.StepOver(Boolean)

Remarks

For more information, see Code Stepping Overview.

Examples

The following example shows how to use the StepOver 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 StepOver(EnvDTE80.DTE2 dte)
{
    EnvDTE90.Debugger3 debugger = (EnvDTE90.Debugger3)dte.Debugger;
    debugger.StepOver(true);
}
Sub StepOverAndNotify
    DTE2.Debugger.StepOver(True)
    MsgBox("The debugger stepped over the call.")
End Sub

.NET Framework Security

See Also

Reference

Debugger3 Interface

StepOver Overload

EnvDTE90 Namespace