Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Debugger.Launch Method

Launches and attaches a debugger to the process.

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

Return Value

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

Exceptions

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

Remarks

If a debugger is already attached, nothing happens.

Requirements

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft