I have a development machine running Windows 7 and Visual Studio 2013. The target framework is .NET 3.5.
Now I want to remote debug on a Windows XP system but this seems impossible:
All I can find from MS is to use VS Studio 2010 Express for debugging.
Is there any hack to remote debug in windows xp anyway?
Sorry for the inconvenience, but since the remote tools are freely available for each version, we have made the decision that the cost to keep backward compatibility working is not something we can afford. Additionally, starting with VS2012 we use an entirely new remote communication channel and protocol compared to VS2010.
You can use VS2010 client on another machine for remote debugging. Alternatively, you can use VS2010 locally on Windows XP for debugging your application as an exe project (even if you built it in a newer version of VS): http://msdn.microsoft.com/en-us/library/0bxe8ytt%28v=vs.100%29.aspx , and in case of C++ you can use VC++ 2010 Express that is freely available: http://www.visualstudio.com/downloads/download-visual-studio-vs#DownloadFamilies_4 .
Thanks! Maria Ghiondea Visual Studio Debugger
This is a bit late, I know, but I found a way to do this, for native C++ at least. You can do it with Visual Studio 2005. Just build your project in the usual way (with Visual Studio 2015 now, in my case), and then:
The executable should then start up on the target machine and all the usual features of the debugger should be available to you.
The command I use to launch the remote debugger stub on the target machine is as follows (I'm behind a firewall, so I don't need any security):
"Y:\\Program Files (x86)\\Microsoft Visual Studio 8\\Common7\\IDE\\Remote Debugger\\x86\\msvsmon" -noauth /nosecuritywarn
Where Y: is mapped to the C: drive on my development machine.
Some other tricks you will probably need are:
Other, more secure, setups are no doubt possible.
I'd like to sign off by saying how incredibly cool I find it that this works. Other than the above, I didn't need to copy or install anything on the target machine and it has changed my life.
Microsoft, PLEASE don't break this, and please keep Visual Studio 2005 available on MSDN for 'the rest of us' who still support older versions of Windows. No debugger = no productivity.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.