> WinDbg only debugs in kernel-mode when you have 2 computers.
Does exist a way to do that using only one?
If (if!) your driver is a software-only or a FS filter or an FSD or something like that, you can use your own box as a host plus a virtual machine installed on it.
There are 2 choices: VMWare and VirtualPC (later Virtual Server) from Microsoft.
Both are free, both run inside a usual window on your desktop.
In short, the idea in both cases is that the serial port, say, COM1, of these virtual machines is redirected to a pipe that is accessible from the host box, and you instruct windbg that runs on a host to work with this pipe instead of (host’s) COM1 (as you would in case of two physical boxes connected by a physical wire).
This host+VM construct may help, but is not always applicable (think of a real device and a driver for it - you can’t insert it into a VM).
If and when it is applicable, it works like a charm: virtualized COM is very fast, you can freeze VM’s state and save it etc.
Just don’t forget about ifs.
----- Original Message -----
From: Lucas Bracher
To: Windows System Software Devs Interest List
Sent: Saturday, November 25, 2006 8:30 AM
Subject: [ntdev] Debugging with WinDbg - kernel mode
Hi there!
I read that WinDbg only debugs in kernel-mode when you have 2 computers. Does exist a way to do that using only one?
Thank you!
Voc? quer respostas para suas perguntas? Ou voc? sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas! — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer