Question

I have program that I want to test on clean Windows installation. For now I have image in VirtualBox and I start program from shared folder, but this is not comfortable and I can't debug.

For debugging I found that I can use Remote Debugging Monitor, but still I want to automate whole process, especially uploading application on virtual machine.

I thought that VirtualPC would be better then VirtualBox, because this application was created by Microsoft. Unfortunately I can't find any info how to connect them.

EDIT: After research: only possibility is to treat virtual machine as remote computer. There is no easier way. Project need to be published to VM using shared folders. After configuring in Visual Studion new release type for remote debugging all triggers automaticly and working.

Was it helpful?

Solution

I would:

1.Place the program in a pre-defined shared directory, such that it is immediately visible to the virtual machine after redeployment.

2.Remote debugger invokation can be automated - all the parameters, such as users allowed to debug can be passed on the command line.

VirtualBox is quite OK for this task, as it allows you to replace only the disk image with clean one, while leaving the setup, including shared directories intact. I am sure VirtualPC also allows such a thing, but choosing it just because it's also written by Microsoft does not seem like a valid consideration here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top