Share via


Debugger.StepOut(Boolean) Method

Definition

Steps out of the current function.

void StepOut(bool WaitForBreakOrEnd = 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 StepOut method.

public static void StepOut(DTE dte)  
{  
    EnvDTE.Debugger debugger = (EnvDTE.Debugger)dte.Debugger;  
    debugger.StepOut(true);  
}  

Remarks

StepOut steps out of the current function. See Stepping for more information.

Applies to