How to programmatically launch Debugger in a remote machine
Posted by: C# Frequently Asked Questions,
on 28 Mar 2011 |
View original | Bookmarked: 0 time(s)
This blog post explains how to kick off a debugger in a remote machine, programmatically. We are going to use WMI interfaces to achieve this. Use WMI, to start the debuggee process and attach a registered debugger to it using WMI. I have given a sample code below.
This Code assumes that we have the ConsoleApplication1 process running in the Machine1(debuggee Machine). On executing this code , the registered Debugger instance will be attached to “ConsoleApplication1” process. If you have...