I'm running different versions of our application on Sun's open source VirtualBox, is it possible to remote debug the app from the host OS with Visual Studio? The problem is that in Visual Studio when I want to attach to a remote machine I have to enter either a computer name or IP and the IP I get from within the virtual box isn't pingable from the host machine.
I'm primarily interested in debugging native code (so I can run with no authentication) but if there's a way to debug managed code too please let me know.
I should note that the host OS is Vista and the guest is XP.
Thanks to Mark I got things working, I'll note all the steps I had to take for future reference:
- Change the VM network from
NAT
toBridged Adapter
(have to power off the VM first) In the guest OS change the default security setting to
Classic - local users authenticate as themselves
as described here:Control Panel -> Administrative Tools -> Local Security Policy
Local Policies -> Security Options
- Change
Network access: Sharing and security model for local accounts
to Classic - local users authenticate as themselves
Reboot guest OS
- Disabled the firewall on the guest OS
- If
msvsmon
can't do it by itself firewall.cpl
- If