如何用WinDBG掛VMware
Steps
- Install a Windows System in VMWare
- Delete the Printer and add a new Serial Port
- Add a shortcut of WinDBG.
- Edit the target to C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe” -k com:port=.\pipe\com_1,baud=115200,pipe
- Run as Administrator
- Open GuestOS in VMWare, open CMD as Administrator
- The {ID} is generated by second command
- bcdedit /dbgsettings serial baudrate:115200 debugport:1
- bcdedit /copy {current} /d DebugEntry
- bcdedit /displayorder {current} {ID}
- bbcdedit /debug {ID} ON
- Restart the virtual machine and choose the DebugEntry.
- Run the WinDBG in the starting process of virtual machine.