man
man

Reputation: 155

Debug a process in a VM

I'm developing a program in C++ and I'm facing a problem. When I run it on my development (Win 10) machine, it works fine. As it also has to run on Windows XP, I installed Windows XP in VMWare and tried to run it, but it crashes. It's been compiled with the latest Visual Studio toolset for Windows XP, so this is not the problem. There's not much info about the crash on the machine.

How do I debug it remotely? I'll probably need to attach it to Visual Studio 2015s debugger, but if there's another solution, I won't be against it.

Upvotes: 0

Views: 1149

Answers (1)

alex
alex

Reputation: 12654

You can install Visual Studio Remote Debugger on a machine that has problems and connect to it from your Visual Studio. After that you will be able to debug a remote process from your PC.

The latest remote debugger support Windows 7 and newer, so you might end up installing older version from VS 2013 or 2010 that would support Windows XP.

Upvotes: 1

Related Questions