How do I remote debug a managed application from other machine which has visual studio. This is what I have tried:
- Copy the remote debug folder which comes part of visual studio into remote machine and run
msvsmon.exe
(64 bit version as both machines are 64 bit). - Use the same windows login account in both machines.
- Then I start visual studio and use attach to process. In the transport I select "Default" and in qualifier I give the hostname of the machine where
msvsmon.exe
is running. - Then I press Refresh button to see the list of processes on that machine. I can see that on the other it says "User xyz is connected". However, the refresh fails and I get following error :
What am I doing wrong here? I am trying with VS2008 Pro and OS on both systems is Windows Server 2008 R2 if it matters.
Note: I can debug unmanaged applications using Remote transport without any issues.