You can use the WinDbg or KD debugger to debug an application in a virtual machine from another virtual machine over a serial port.

Prerequisites

  • Download and install WinDbg or KD in the Windows guest operating system that you plan to use as the debugger virtual machine.

  • Verify that a serial port is configured for the virtual machine. See Configuring Virtual Ports.

Procedure

  1. Power on both virtual machines.
  2. Select the virtual machine and select VM > Removable Devices to verify that the serial port is connected.
  3. If the serial port is not connected, select the virtual serial port and click Connect.
  4. In the debugger virtual machine, start debugging by using WinDbg or KD.