Virtual machine using XP system:
Open boot. INI:
To add a debug startup item:
Then turn off the computer and modify the settings for the virtual machine:
Add a serial port:
Configure it like this:
Then, locate the Device Manager in the real machine and set the baud rate to 115200:
Add a parameter to the target in the properties of the WinDbg to be started:-b-k com:port=\\.\pipe\com_2,baud=115200,pipe
When Setup is complete, turn on the virtual machine until the interface is stopped:
At this point, the WinDbg is started and is waiting for the connection status:
Then select the startup item you set, that is, "WIN XP Debug", wait a moment, the connection succeeds:
Enter F5 to allow the system in the virtual machine to continue running:
Press Ctrl+break again to break down:
Reference:
http://blog.csdn.net/hgy413/article/details/8466000
VMWARE+WINDBG Double-machine commissioning