System.Diagnostics.Debugger.Launch Method

Launches and attaches a debugger to the process.

Syntax

public static bool Launch ()

Returns

true if the startup is successful or if the debugger is already attached; otherwise, false.

Remarks

If a debugger is already attached, nothing happens.

Requirements

Namespace: System.Diagnostics
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0