Debug Learning Setup

Hope this question isn’t too out of scope for this digest, but I think if
anyone knows, it would be someone on this group.

I’m somewhat experienced in kernel debugging, but would like to improve my
skills. I’m in the process of setting up a debugging test bed at home, and
would like to kernel debug virtual machines running on either VMWare or
VirtualPC. I’ve found plenty of information on attaching WinDBG to
VMWare, but have found no information for debugging with VirtualPC. Does
anyone on this group have experience using VirtualPC for this purpose?
Does it work well for debugging purposes, or would I be better off using
VMWare?

Any feedback would be appreciated greatly.

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kurt P. Congdon
Accenture Technology Infrastructure Services
Data Center Services (Server Engineering)
Octel/VPN: 68-32509
Direct: 1 (312) 693-2509
Fax: 1 (312) 652-2509

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.

I recently tried this with Virtual PC for Windows 5.1. You can hook the
guest OS’s COM port up to a physical COM port on the host machine. And
then you can debug through that. That means you’ll have to hook up a
null modem cable to the COM port and attach it to the debugger machine.

So one cool thing you can do is to use the null modem cable to attach 2
COM ports on the host OS. Then you can run your debugger on the host
and debug a guest OS.

The end result is you can debug fine, but still need the physical
linkup. You can do single machine debugging if the machine has at least
2 free COM ports.

-----Original Message-----
From: xxxxx@accenture.com [mailto:xxxxx@accenture.com]

Sent: Tuesday, February 25, 2003 7:46 AM
To: Kernel Debugging Interest List
Subject: [windbg] Debug Learning Setup

Hope this question isn’t too out of scope for this digest, but I think
if anyone knows, it would be someone on this group.

I’m somewhat experienced in kernel debugging, but would like to improve
my skills. I’m in the process of setting up a debugging test bed at
home, and would like to kernel debug virtual machines running on either
VMWare or VirtualPC. I’ve found plenty of information on attaching
WinDBG to VMWare, but have found no information for debugging with
VirtualPC. Does anyone on this group have experience using VirtualPC
for this purpose? Does it work well for debugging purposes, or would I
be better off using VMWare?

Any feedback would be appreciated greatly.

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kurt P. Congdon
Accenture Technology Infrastructure Services
Data Center Services (Server Engineering)
Octel/VPN: 68-32509
Direct: 1 (312) 693-2509
Fax: 1 (312) 652-2509

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

BUT … you do not at that point have a multiprocessor machine. each virtual
machine will be a uni-processor – of course you could use the host as the
target and run WinDbg … ooops … what happens when you BP the host? :slight_smile:


Gary G. Little
Have Computer, Will Travel …
909-698-3191
909-551-2105

“Nathan Nesbit” wrote in message
news:xxxxx@windbg…

I recently tried this with Virtual PC for Windows 5.1. You can hook the
guest OS’s COM port up to a physical COM port on the host machine. And
then you can debug through that. That means you’ll have to hook up a
null modem cable to the COM port and attach it to the debugger machine.

So one cool thing you can do is to use the null modem cable to attach 2
COM ports on the host OS. Then you can run your debugger on the host
and debug a guest OS.

The end result is you can debug fine, but still need the physical
linkup. You can do single machine debugging if the machine has at least
2 free COM ports.

-----Original Message-----
From: xxxxx@accenture.com [mailto:xxxxx@accenture.com]

Sent: Tuesday, February 25, 2003 7:46 AM
To: Kernel Debugging Interest List
Subject: [windbg] Debug Learning Setup

Hope this question isn’t too out of scope for this digest, but I think
if anyone knows, it would be someone on this group.

I’m somewhat experienced in kernel debugging, but would like to improve
my skills. I’m in the process of setting up a debugging test bed at
home, and would like to kernel debug virtual machines running on either
VMWare or VirtualPC. I’ve found plenty of information on attaching
WinDBG to VMWare, but have found no information for debugging with
VirtualPC. Does anyone on this group have experience using VirtualPC
for this purpose? Does it work well for debugging purposes, or would I
be better off using VMWare?

Any feedback would be appreciated greatly.

-----------------
Kurt P. Congdon
Accenture Technology Infrastructure Services
Data Center Services (Server Engineering)
Octel/VPN: 68-32509
Direct: 1 (312) 693-2509
Fax: 1 (312) 652-2509

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete
the original. Any other use of the email by you is prohibited.


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

My friend have tried Vmware, although I have not tried yet. He did kernel
debug VM.

This URL should help you.
http://www.vmware.com/support/ws3/doc/ws32_devices3.html

Point:
baudrate should not be high. 57600 is better.

Kimi

-----Original Message-----
From: Nathan Nesbit [mailto:xxxxx@windows.microsoft.com]
Sent: Wednesday, February 26, 2003 6:36 AM
To: Kernel Debugging Interest List
Subject: [windbg] RE: Debug Learning Setup

I recently tried this with Virtual PC for Windows 5.1. You can hook the
guest OS’s COM port up to a physical COM port on the host machine. And then
you can debug through that. That means you’ll have to hook up a null modem
cable to the COM port and attach it to the debugger machine.

So one cool thing you can do is to use the null modem cable to attach 2 COM
ports on the host OS. Then you can run your debugger on the host and debug
a guest OS.

The end result is you can debug fine, but still need the physical linkup.
You can do single machine debugging if the machine has at least 2 free COM
ports.

-----Original Message-----
From: xxxxx@accenture.com [mailto:xxxxx@accenture.com]

Sent: Tuesday, February 25, 2003 7:46 AM
To: Kernel Debugging Interest List
Subject: [windbg] Debug Learning Setup

Hope this question isn’t too out of scope for this digest, but I think if
anyone knows, it would be someone on this group.

I’m somewhat experienced in kernel debugging, but would like to improve my
skills. I’m in the process of setting up a debugging test bed at home, and
would like to kernel debug virtual machines running on either VMWare or
VirtualPC. I’ve found plenty of information on attaching WinDBG to VMWare,
but have found no information for debugging with VirtualPC. Does anyone on
this group have experience using VirtualPC for this purpose? Does it work
well for debugging purposes, or would I be better off using VMWare?

Any feedback would be appreciated greatly.

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Kurt P. Congdon
Accenture Technology Infrastructure Services
Data Center Services (Server Engineering)
Octel/VPN: 68-32509
Direct: 1 (312) 693-2509
Fax: 1 (312) 652-2509

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.


You are currently subscribed to windbg as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


You are currently subscribed to windbg as: xxxxx@citrix.co.jp To
unsubscribe send a blank email to xxxxx@lists.osr.com