Share via


Restart Method

Home Page (Objects)OverviewFAQReference

Applies to: Debugger object

Restarts a program that is being debugged.

Syntax

object**.Restart**

Parameters

object

An expression that evaluates to a Debugger object.

Remarks

The Restart method ends the current debugging session and then restarts the program at the first possible point of execution.

Example

The following example performs the Restart method:

Debugger.Restart