Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use the Visual Studio 2010 remote debugger on Windows XP to debug a .Net 4.0 app from Visual Studio 2012?

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):

XP

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):

VS 2012

When I try to debug, I get this error:

Error

If I change the computer name to anything else, I get this error:

Other 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!

like image 459
JMK Avatar asked Jan 21 '13 17:01

JMK


People also ask

Which version of Visual Studio is compatible with Windows XP?

Windows XP deployment The last Redistributable to support Windows XP shipped in Visual Studio 2019 version 16.7.

Does Vscode work on Windows XP?

Attachments: Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Which of the below debug windows are present in Visual Studio for debugging an ASP NET application?

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.


1 Answers

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.

like image 123
Robert R Evans Avatar answered Oct 11 '22 14:10

Robert R Evans