Kernel debugging on one machine using Virtual PC 2004 SP1 & Windows XP
You no longer need to buy another machine or a copy of SoftIce to do full kernel debugging using two machines. This is a good setup for learning & hobby projects.
Setup target VM
You no longer need to buy another machine or a copy of SoftIce to do full kernel debugging using two machines. This is a good setup for learning & hobby projects.
Setup target VM
- Go to My Computer -> Properties -> Advanced -> Settings (Startup and Recovery) -> Edit
- Add '/DEBUG /DEBUGPORT=COM1' to the end of the settings in the boot file.
Setup host machine.
- Edit settings for VM, configure COM1 to use a named pipe. Eg. "bkslash-bkslash-dot-\pipe\debug"
- Start KD by running "kd -y SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols -k com:pipe,port=\\.\pipe\debug,resets=0,reconnect" or equivalent command.
- Restart target VM, you should see a message in KD saying "Connected to Windows XP..."
Reference: http://blogs.msdn.com/virtual_pc_guy/archive/2005/10/20/482413.aspx
Comments