Select the product you need help with
How to debug a virtual machine on a host computer that is running Virtual Server 2005 or Virtual PC 2004, part 1 of 2Article ID: 871171 - View products that this article applies to. On This PageINTRODUCTIONThis article describes how to debug a virtual machine on a
host computer that is running Microsoft Virtual Server 2005 or Microsoft
Virtual PC 2004. This article is not a complete description about how to debug
a computer. Instead, this article covers only the basic steps and information
that you must use to obtain debug output in a virtual machine environment. This
article is part 1 of 2 articles.
For more information
about the other article that is part 2, click the following article number to view the article in the Microsoft Knowledge Base:
871170
(http://support.microsoft.com/kb/871170/
)
How
to debug the Virtual Server service on a computer that is running Virtual
Server 2005 or Virtual PC 2004, part 2 of 2
MORE INFORMATIONTo configure debugging in a virtual machine environment,
follow these steps. Step 1: Configure the virtual machine Boot.ini fileWhen you debug a virtual machine from a host computer that is running Virtual PC 2004 or Virtual Server 2005, configure the host computer with your debugging tools as you would in a typical debug scenario. However, you can use a higher baud when you debug a virtual machine. The computer that you want to debug is also known as the target computer. To configure the baud on the computer that you want to debug, follow these steps:
303021
(http://support.microsoft.com/kb/303021/
)
How to generate a memory dump file when a server stops responding (hangs)
Step 2: Obtain and install a kernel debuggerDownload a kernel debugger from Microsoft. To do this, visit one of the following Microsoft Web sites:http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx We recommend that you use the latest version of the kernel
debugger that is available.
(http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx)
http://www.microsoft.com/whdc/devtools/debugging/default.mspx
(http://www.microsoft.com/whdc/devtools/debugging/default.mspx)
Step 3: Configure a serial port on the virtual machineConfigure a serial port on the virtual machine to connect the host computer to. Note that serial ports are also known as com ports. This serial port will be a named pipe. To configure this serial port, follow these steps.Virtual PC 2004
Virtual Server 2005
Step 4: Attach the kernel debugger to the virtual machine com portConnect the kernel debugger to the com port on the virtual machine that you want to debug.Local computerFor a local computer, use one of the following commands:
Remote computerFor a remote computer, use one of the following commands:
PropertiesArticle ID: 871171 - Last Review: February 13, 2008 - Revision: 4.0
|


Back to the top








