Мой мануал Virtual null-modem cable: Host kernel mode: \\.\pipe\com1 This end is the client The other end is a virtual machine set _NT_DEBUG_PORT=com1 set _NT_DEBUG_BAUD_RATE=115200 kd -k com:port=com1,baud=115200 Target kernel mode: COM1: Auto detect (COM1) COM2: \\.\pipe\com1 This end is the server The other end is a virtual machine /debug /debugport=COM2 /baudrate=115200 Remote debugging of an application in the kernel mode: - "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug": Auto = 1 - "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AeDebug": Debugger = "c:\Program Files (x86)\Windbg\windbg.exe" -p %ld -e %ld -g -WF "c:\Work\Windbg\windbg.wew" -c "$<c:\Work\Windbg\windbg.script" - execute the command line: windbg.exe /IS - catch a error in the user mode - set before a error the code: int 3 - rerun an application Vista: - Start button/All Programs/Accessories/Command Prompt (run as administrator) - bcdedit.exe /dbgsettings SERIAL DEBUGPORT:2 BAUDRATE:115200 /start AUTOENABLE - bcdedit.exe /debug on - restart with the debugging mode