I'm running WinXP within VirtualBox on Windows 10. I'd like to be able to debug C++ code running on console from within VS.net 2003. Is this possible with a green debug kit? I'm building my code against XDK5933, and Xbox Neighborhood can connect with the kit. I can deploy my binaries to the console, and execute, but when I attempt to either 1. Start Debugging in VS or 2. Attach to remote console process, I get the following error message: "Unable to start debugging. Unable to start program 'xe:\[MyProjectName]\BinaryName.xbe'" Is debugging code only possible with a crystal development kit? Is Visual Studio somehow unable to connect to my target kit, while Xbox Neighborhood can? Also, is it possible to mod a green debug kit to behave identically to a development kit? Thanks! EDIT: After some fiddling with Property pages, I found that it's necessary to configure VirtualBox's network adapter to "Bridged Adapter." (See: http://www.emuxtras.net/forum/viewtopic.php?f=193&t=4132) It won't work with any other setup. So now I can debug a running process, but VS isn't hitting my breakpoints... I'll keep investigating.
As long as you have a proper debug enabled BIOS, debugging is all the same for modded Xbox's, debug kits, and dev kits. The real dev kit is really only useful if you want to run your code on an emulated DVD on your dev PC's Raptor card, or for kernel debugging. Always wanted to put the Raptor card in external housing with a USB->PCI adapter and see if I could use it in VirtualBox. One day... I just ran a debug session via Bridged Adapter on VirtualBox. Everything worked, including breakpoints, as it should. NAT always worked fine for Xbox Neighborhood, and IIRC FTP transfers were faster. Now, I do remember having issues on an old XP laptop where I could not use the debugger. I want to attribute it to some Windows XP update, or that registry hack that gives you another 5 years of support, pretending your OS is Windows XP Embedded Edition. My current dev environment VBox 5 and "vanilla" XP + SP3 works just fine. Hope this helps. What are you tinkering with, btw?
@nonosto: Yep, running a WindowsXP SP3 install within VirtualBox on Windows 10. @weinerschnitzel Thanks, I was ultimately able to get debugging fully working, and I think the problem was related to symbols not being loaded for the xbe being debugged. I had been using a UNC path to my project, because it lived in a folder shared with my host system. Looks like the debugger had a problem with it. Just playing around with the hardware really, and wanting to try a small port of something. Cool, now I can have some fun!