Hi there.
I read the document “An Introduction to How to Build, Install, Test, and Debug KMDF Drivers”, from Microsoft, trying to understand how to set up windbg to begin debugging my kmdf driver, but I couldn´t understand how I can setup both sides (host & test computers), from which sides I need to run Windbg, etc, etc. I googled for it and I didn´t found good informations to a dummie programmer like me. Can you help me?
Thank you!
Lucas.
Fale com seus amigos de graça com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/
So you have two computers.
One is the machine on which you’re running/testing your driver. This is the “test” or “target” machine. On that machine you need to modify boot.ini (or in Vista the boot configuration database) to enable the kernel-mode debugger. Don’t put anything particularly important on this machine - a buggy kernel driver can leave the machine unbootable and you want to be able to clean install the computer without losing much sleep.
The other is your development & debugger machine. This is the machine where you have your driver code & your WDK installation. This is also where you want to run WINDBG.
-p
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Lucas Bracher
Sent: Tuesday, January 16, 2007 9:19 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Windbg for dummies - can you help me?
Hi there.
I read the document “An Introduction to How to Build, Install, Test, and Debug KMDF Drivers”, from Microsoft, trying to understand how to set up windbg to begin debugging my kmdf driver, but I couldn?t understand how I can setup both sides (host & test computers), from which sides I need to run Windbg, etc, etc. I googled for it and I didn?t found good informations to a dummie programmer like me. Can you help me?
Thank you!
Lucas.
Fale com seus amigos de gra?a com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/ — 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
The test computer is where you install the driver and test it, and will need some preparation for it to be debuggable… The host computer is where you install and run the debugger package and is where you have to have access to the symbol information. Some form of communication cable connects them.
WinDbg comes with a help file that discusses how to set up each computer for each of the communication methods supported, and for various machine architectures and in some cases OS’s. It takes a while to digest it, but that was usually enough for me to muddle through [and you can always post more specific questions as they arise].
OSR has had some decent articles on this, but my favorite (for some reason)
is the Windbg section of
http://www.microsoft.com/whdc/driver/foundation/DrvDev_Intro.mspx
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply
“Lucas Bracher” wrote in message
news:xxxxx@ntdev…
> Hi there.
> I read the document “An Introduction to How to Build, Install, Test, and
> Debug KMDF Drivers”, from Microsoft, trying to understand how to set up
> windbg to begin debugging my kmdf driver, but I couldn´t understand how I
> can setup both sides (host & test computers), from which sides I need to
> run Windbg, etc, etc. I googled for it and I didn´t found good
> informations to a dummie programmer like me. Can you help me?
>
> Thank you!
>
> Lucas.
>
> __________________________________________________
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/