WinDBG in Vista

J

john

I tried to port my WDM driver to Vista and I got the BSOD when my
driver was loaded.
I recently discovered that SoftICE is no longer supported and only
works with Vista Beta1. I have Beta2. So I have to learn how to debug
using two machines.


My question is, how do I run or load WinDbG prior to my driver being
loaded at boot time?

Do I uninstall the driver, run Windbg, setting a breakpoint at
DriverEntry and then reinstall the driver?

John
 
G

Gary G. Little

Simple, really. Install the latest WinDbg on the host and run it. Configure
a kernel debugger session for serial or 1394, or USB is you have the "magic"
cable. Use BCDEDIT to configure the target for debug, and reboot. In the
host, while waiting for reboot, press CTL+ALT+K to force a breakpoint at the
first load. Again while waiting for the target, set the Symbol path to the
symbol server and your local store.
 
J

john

Thanks for the info.

I finally got the target and host taking to each other.

However, I can't get any debug print statements and I tried what the
comment on OSR web site. But that didn't work for me. I am running
Vista RC-1. May MS made a changed from Beta 2 to RC-1.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top