Hello all,
I am doing the kernel mode debugging for the first time and I am stuck up
at a step. I have a keyboard driver (checked bhuild). I want to debug it
on the test machine. I use win 2k on both machines and installed sp2.I
have downloaded it’s symbol set from net.I am now able to start the
debugger connecting null modem cable and it shows all the expected
results.
Now I want any driver of my choice to be loaded. and I want to set a
breakpoint on it.How can I do this?what is the method to load a specific
driver in test machine? Or u people can provide me a sample code of driver
with instructions to proceed further.I am using wingdb 5.0
Thanx.
Anand.
Install a driver to the target machine’s registry and reboot.
The details depend on driver kind.
Max
----- Original Message -----
From: “Anand”
To: “NT Developers Interest List”
Sent: Saturday, August 03, 2002 8:18 PM
Subject: [ntdev] problem in debugging.
> Hello all,
> I am doing the kernel mode debugging for the first time and I am
stuck up
> at a step. I have a keyboard driver (checked bhuild). I want to
debug it
> on the test machine. I use win 2k on both machines and installed
sp2.I
> have downloaded it’s symbol set from net.I am now able to start the
> debugger connecting null modem cable and it shows all the expected
> results.
> Now I want any driver of my choice to be loaded. and I want to set
a
> breakpoint on it.How can I do this?what is the method to load a
specific
> driver in test machine? Or u people can provide me a sample code of
driver
> with instructions to proceed further.I am using wingdb 5.0
> Thanx.
> Anand.
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>
First thing to do is to download and install the proper version of WinDbg.
The 5.0 version is a decrepit piece of crap that basically does not work.
You want the current version which is 6.0.0017.
Once installed, simply do a Ctl+Alt+K in the command window and reboot your
target. Your target will break point at the next boot and you can then start
setting your breakpoints using “bu my_bp” or “bu mydriver!my_bp”.
–
Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>
> Install a driver to the target machine’s registry and reboot.
> The details depend on driver kind.
>
> Max
>
> ----- Original Message -----
> From: “Anand”
> To: “NT Developers Interest List”
> Sent: Saturday, August 03, 2002 8:18 PM
> Subject: [ntdev] problem in debugging.
>
>
> > Hello all,
> > I am doing the kernel mode debugging for the first time and I am
> stuck up
> > at a step. I have a keyboard driver (checked bhuild). I want to
> debug it
> > on the test machine. I use win 2k on both machines and installed
> sp2.I
> > have downloaded it’s symbol set from net.I am now able to start the
> > debugger connecting null modem cable and it shows all the expected
> > results.
> > Now I want any driver of my choice to be loaded. and I want to set
> a
> > breakpoint on it.How can I do this?what is the method to load a
> specific
> > driver in test machine? Or u people can provide me a sample code of
> driver
> > with instructions to proceed further.I am using wingdb 5.0
> > Thanx.
> > Anand.
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
>
>