http://www.ndis.com/ndis-debugging/virtual/vmwaresetup.htm
-
Steps:
- (One time) On host machine, install WinDbg
- On the target machine (i.e., the VM running on HyperV), ran following in cmd:
bcdedit -debug on bcdedit -dbgsettings serial debugport:1 baudrate:115200
- In HyperV’s control panel, open the settings for the VM. Under COM1, add a Named Pipe called “MyVIrtualCom1”.
- Create a shortcut for windbg on host machine, make it run as administrator (otherwise, you can not access the com). The command to run windbg is something like:
C:\Debuggers\windbg.exe -y SRV*C:\symbols*http://msdl.microsoft.com/download/symbols -k com:port=\\.\pipe\MyVirtualCom1,pipe,resets=0,reconnect
No comments:
Post a Comment