Search

Language:  
Search for:

Available article translations:

How to use WinDBG to establish kernel debug session between 2 Virtual Machines

APPLIES TO:
  • Parallels Desktop 4 for Mac Standard Edition

Symptoms

You try using to setup remote debug session using serial port in pipe mode
(as analog to null modem cable on real PC),
according to Microsoft knowledge base article http://support.microsoft.com/kb/151981 ,
and there are synchronization problems between debugger session, and virtual machine:
- Debugger is not responding showing output "Waiting to reconnect..."
- Virtual machine reached synchronization stage with debugger is not responding showing black screen
- Serial ports on both virtual machines shows some connections activity during 5-10 minuts

Resolution

1. Stop virtual machine you want to debug
2. Click Configure
3. Select "Show Advanced Settings"
4. Click CPU node in the left pane
5. Add following flag
devices.serial.pipe_WinDBG_Hack=1
6. Restart, or start WinDBG session in virtual machine from  which you want to debug testing VM
7. Start virtual machine you want to debug



d6e04a8c3a7f86de03d4731caa56d4ed 1e5db16426987d561060acdf56d947b4 df4909b7dd0609a3c148f007041db6d9

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No