This documentation is archived and is not being maintained.

Debugger.Launch Method

Launches and attaches a debugger to the process.

[Visual Basic]
Public Shared Function Launch() As Boolean
public static bool Launch();
public: static bool Launch();
public static function Launch() : Boolean;

Return Value

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


Exception Type Condition
SecurityException The System.Security.Permissions.UIPermission is not set to start the debugger.


If a debugger is already attached, nothing happens.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

.NET Framework Security: 

See Also

Debugger Class | Debugger Members | System.Diagnostics Namespace | System.Security.Permissions.UIPermission