Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012?
I am trying to, here is a screenshot of my XP machine (I have disabled the local firewall temporarily):
Here is Visual Studio 2012 (the text in the remote machine box is identical to the server name indictaed by the Visual Studio remote debugger):
When I try to debug, I get this error:
If I change the computer name to anything else, I get this error:
Is being able to debug .Net 4.0 apps remotely from Visual Studio 2012 on Windows XP wishful thinking on my part or should this work?
Just to give some background, we have some .Net 4.0 code running on Windows 7 ok, but crashing under XP. I understand that the .Net 4.5 compiler is an in place upgrade of the 4.0 compiler, and if you have a bug in .Net 4.0 which has been fixed in 4.5, your 4.0 code will compile fine because you are using the more up to date, fixed compiler, but you may get runtime issues on actual .Net 4.0 machines. I suspect this may be the case and wish to test it out.
And we have to use Visual Studio 2012, I don't make the rules!
Windows XP deployment The last Redistributable to support Windows XP shipped in Visual Studio 2019 version 16.7.
Attachments: Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.
In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5. The debugger pauses at the breakpoints.
The MSDN blog tells us (2012 Oct 8) that there is no support for remote debugging from VS 2012 to XP:
Remote Debugging The Remote Tools for Visual Studio 2012 do not support remote debugging on an XP client. When debugging on Windows XP is required, it is recommended to use the debuggers of an older version of Visual Studio, such as Visual Studio 2010, for local or remote debugging. This is in line with the Windows Vista experience for Visual Studio 2012 RTM, which is a runtime target but not a remote debugging target.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With