Causes a breakpoint to be signaled to an attached debugger.
[Visual Basic] Public Shared Sub Break() [C#] public static void Break(); [C++] public: static void Break(); [JScript] public static function Break();
If no debugger is attached, users are asked if they want to attach a debugger. If yes, the debugger is launched.
Debugger Class | Debugger Members | System.Diagnostics Namespace