Debugger.Launch Method

Definition

Launches and attaches a debugger to the process.

public static bool Launch ();
Returns

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

Exceptions

The UIPermission is not set to start the debugger.

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