Please Help

Hi Experts,

I want to debug NT Kernel mode driver.

<1>
My target machine is WinNT (checked build)
My host machine is Win2000.
Can I run WinDbg on win2000 as a Host machine ? ( or Win NT free build is
must).

<2>
I cant see values of variables in local or watch windows. Is it due to any
symbols mismatch ?
I have created C:\symbols\dll, C:\symbols\exe & C:\symbols\sys.
I copied hal.dbg to C:\symbols\dll, ntoskrnl.dbg to C:\symbols\exe( from
“support” directory of checked build NT) & mydriver.sys to
C:\symbols\sys.

Am I missing something in setup ? Please guide me.

Regards,
Tejendra

Tejendra Joshi wrote:

Hi Experts,

I want to debug NT Kernel mode driver.

<1>
My target machine is WinNT (checked build)
My host machine is Win2000.
Can I run WinDbg on win2000 as a Host machine ? ( or Win NT free build is
must).

Yes, I do that all the time.

<2>
I cant see values of variables in local or watch windows. Is it due to any
symbols mismatch ?
I have created C:\symbols\dll, C:\symbols\exe & C:\symbols\sys.
I copied hal.dbg to C:\symbols\dll, ntoskrnl.dbg to C:\symbols\exe( from
“support” directory of checked build NT) & mydriver.sys to
C:\symbols\sys.

Am I missing something in setup ? Please guide me.

Did you point the windbg ‘symbol’ path (under the file menu) to your
symbol directory? In general your symbol file should end in .pdb or
.dbg.
This file needs to be where you tell windbg to look for it.
At the windbg command prompt, type ‘!sym noisy’ and ‘.reload’. This
should
tell you if there are any symbol problems.

-Mark

Regards,
Tejendra


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