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

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



279e509e1fbdf7d3ff4adbfcc21d2666 1e5db16426987d561060acdf56d947b4 33c4522b6fa9ca8e050f19b889fb58f1

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