StepOut Method

Home Page (Objects)OverviewFAQReference

Applies to: Debugger object

Stops stepping through a called function, executes the remainder of the function, exits the function, and then breaks at the statement after the function call.

Syntax

object.StepOut

Parameters

object

An expression that evaluates to a Debugger object.

Remarks

During program debugging, use the StepInto method to step through instructions in a called function. Use the StepOut method to stop stepping through the instructions, to execute the remainder of the function, to exit the function, and then to break at the statement after the function call.

Use the StepOver method to execute a called function without stepping through it.

Example

The following stops stepping through a called function, executes the remainder of the function, exits the function, and then breaks at the statement after the function call:

Debugger.StepOut