Setting up the remote debugger from Windows 8 (Visual Studio) to Windows XP SP3 (Program) was a fight, but I won. Read my steps below.
Program machine ~ virtualxp
- Add a user for remote debugging that will be available on destination and developer environment (~remoteaccess)
- Install Visual Studio 2010 Remote Debugger
- Change security policy to allow remote debugging between domains
- Reboot!
- Login with user for remote debugging
- Start Visual Studio 2010 Remote Debugger and note the name of the server (Msvsmon started a new server named ‘RemoteAccess@virtualxp’. Waiting for new connections.)
- Start the application to debug
Visual Studio machine
- Add a user for remote debugging that will be available on destination and developer environment (~remoteaccess)
- Start Visual Studio 2010 as the user for remote debugging (Add option to Windows 8)
- Debug > Attach to Process … > select process and Attach
- Debug > Windows > Modules. Displays modules that have matching PDB files found and the possibility to load extra (PDB) files
I disabled both Firewalls. They will be in your way.
Microsoft article for VS2012: http://msdn.microsoft.com/en-us/library/vstudio/bt727f1t.aspx
Pingback: TypeLoadException | .NET Development by Eric