Debugger.Launch Debugger.Launch Debugger.Launch Debugger.Launch Method

Definition

Launches and attaches a debugger to the process.

public:
 static bool Launch();
public static bool Launch ();
static member Launch : unit -> bool
Public Shared Function Launch () As Boolean

Returns

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

Exceptions

Remarks

If a debugger is already attached, nothing happens.

Security

UIPermission
for permission to start a debugger. Associated enumeration: Unrestricted

SecurityPermission
for operating with unmanaged code. Associated enumeration: UnmanagedCode Security action: Demand

Applies to

See also