Debugger2.StepOver(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Implements
- Attributes
Examples
The following example demonstrates how to use the StepOver method.
public static void StepOver(EnvDTE80.DTE2 dte)
{
EnvDTE80.Debugger2 debugger = (EnvDTE80.Debugger2)dte.Debugger;
debugger.StepOver(true);
}
Sub StepOverAndNotify
DTE2.Debugger.StepOver(True)
MsgBox("The debugger stepped over the call.")
End Sub
Remarks
See Code Stepping Overview for more information.