Debugger.Launch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The UIPermission is not set to start the debugger.
Remarks
If a debugger is already attached, nothing happens.
Debugger launch is only supported on Windows. On Unix operating systems, the method returns true
without launching a debugger.
Applies to
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.