Launching a debugger from an application

You have a managed application. Let’s suppose a Winforms application in VC#. You want your application to launch the debugger automatically. For this purpose, you added in your program the line System.Diagnostics.Debugger.Launch(). When we run the application outside the debugger, it runs fine, launches the debugger and works normally.  Now what happens when we run…


Remote Debugging

                                                  1.    Introduction. Remote debugging is one of the most interesting features of Visual Studio and it has been greatly simplified in Visual Studio 2005. The purpose of this article is to discuss the basic functionality, configuration details, and troubleshooting steps required for a successful remote debugging session. Why we need remote debugging? Troubleshooting an…

1