windbg - cant view local symbols

Hi all,

I know this has been addressed before, because I’ve read quite a few of the
past messages on this list. But if anyone has additional insight on this,
I’d love to hear from you. I’m trying to debug my old NT4 driver in a
Win2000 environment.

I’m using VC6, SP4, building my driver under W2K using the “external
makefile” method as described by Walter Oney and others. I use rebase to
split the symbols into a .dbg file (this is leftover from NT4 days).

I’m running windbg on W2K 1.0.0006.0, and I can’t view local symbols in my
driver (I get the error message “Error: Cannot get value”).

I’ve created a .PDB file (USE_PDB=1), and the debugger seems to be loading
it OK, (I confirmed this with “noisy” mode on) but it still complains that
the debugger is “not using the correct symbols”.

I’m suspicious of the following error messages:

DBGHELP: FindExecutableImageEx-> Looking for C:\Program Files\Debugging
Tools for Windows\ntoskrnlsym… no file
DBGHELP: FindExecutableImageEx-> Searching c:\winnt\symbols for
ntoskrnlsym… no file
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\symbols\ntoskrnlsym.dbg… path not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for ntoskrnlsym.dbg… file not found
DBGHELP: FindExecutableImageEx-> Looking for C:\Program Files\Debugging
Tools for Windows\ntoskrnlsym… no file
DBGHELP: FindExecutableImageEx-> Searching c:\winnt\symbols for
ntoskrnlsym… no file
DBGHELP: LocatePDB-> Looking for
c:\winnt\symbols\symbols\exe\ntoskrnlsym.pdb… file not found
DBGHELP: LocatePDB-> Looking for c:\winnt\symbols\exe\ntoskrnlsym.pdb…
file not found
DBGHELP: LocatePDB-> Looking for c:\winnt\symbols\ntoskrnlsym.pdb… file
not found
DBGHELP: LocatePDB-> Looking for ntoskrnlsym.pdb… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\symbols\ntoskrnlsym.dbg… path not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for ntoskrnlsym.dbg… file not found
DBGHELP: no symbols loaded

Can anyone shed some light on this?

Many thanks!

-bill

Bill Christie
Link Engineering Company
www.linkeng.com

Try this, it worked for me…

http://support.microsoft.com/support/kb/articles/Q263/9/79.ASP

Oliver Radke

-----Original Message-----
From: Bill Christie [mailto:xxxxx@linkeng.com]
Sent: Tuesday, December 12, 2000 11:14 AM
To: Kernel Debugging Interest List
Subject: [windbg] windbg - cant view local symbols

Hi all,

I know this has been addressed before, because I’ve read quite a few of the
past messages on this list. But if anyone has additional insight on this,
I’d love to hear from you. I’m trying to debug my old NT4 driver in a
Win2000 environment.

I’m using VC6, SP4, building my driver under W2K using the “external
makefile” method as described by Walter Oney and others. I use rebase to
split the symbols into a .dbg file (this is leftover from NT4 days).

I’m running windbg on W2K 1.0.0006.0, and I can’t view local symbols in my
driver (I get the error message “Error: Cannot get value”).

I’ve created a .PDB file (USE_PDB=1), and the debugger seems to be loading
it OK, (I confirmed this with “noisy” mode on) but it still complains that
the debugger is “not using the correct symbols”.

I’m suspicious of the following error messages:

DBGHELP: FindExecutableImageEx-> Looking for C:\Program Files\Debugging
Tools for Windows\ntoskrnlsym… no file
DBGHELP: FindExecutableImageEx-> Searching c:\winnt\symbols for
ntoskrnlsym… no file
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\symbols\ntoskrnlsym.dbg… path not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for ntoskrnlsym.dbg… file not found
DBGHELP: FindExecutableImageEx-> Looking for C:\Program Files\Debugging
Tools for Windows\ntoskrnlsym… no file
DBGHELP: FindExecutableImageEx-> Searching c:\winnt\symbols for
ntoskrnlsym… no file
DBGHELP: LocatePDB-> Looking for
c:\winnt\symbols\symbols\exe\ntoskrnlsym.pdb… file not found
DBGHELP: LocatePDB-> Looking for c:\winnt\symbols\exe\ntoskrnlsym.pdb…
file not found
DBGHELP: LocatePDB-> Looking for c:\winnt\symbols\ntoskrnlsym.pdb… file
not found
DBGHELP: LocatePDB-> Looking for ntoskrnlsym.pdb… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\symbols\ntoskrnlsym.dbg… path not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for
c:\winnt\symbols\ntoskrnlsym.dbg… file not found
DBGHELP: FindDebugInfoFileEx-> Looking for ntoskrnlsym.dbg… file not found
DBGHELP: no symbols loaded

Can anyone shed some light on this?

Many thanks!

-bill

Bill Christie
Link Engineering Company
www.linkeng.com


You are currently subscribed to windbg as: xxxxx@brooktrout.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)