Launches and attaches a debugger to the process.
Public Shared Function Launch As Boolean
Dim returnValue As Boolean returnValue = Debugger.Launch()
public static bool Launch()
public: static bool Launch()
public static function Launch() : boolean
The System.Security.Permissions..::.UIPermission is not set to start the debugger.
If a debugger is already attached, nothing happens.
Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows CE Platform Note: The .NET Compact Framework supports this method for infrastructure purposes, but does not provide an implementation. It will always return true.
for permission to start a debugger. Associated enumeration: PermissionState..::.Unrestricted
for operating with unmanaged code. Associated enumeration: SecurityPermissionFlag..::.UnmanagedCode Security action: Demand
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98, Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC, Xbox 360, Zune
How does this compare to:
Debugger.Break()
...?