Has anyone used windbg and symbols on 2000

J

Jeff Sylvern

I have an application (a service) to debug on W2K where
the symbols are provided by sp4. Since I was not having
great results, I found this file to replace the symbols:
w2ksp4sym_en.exe. In addition to installing the symbols, I
have replaced my code with release (debug pdb files)
versions of this application so that I can run from
windbg. After the service is running and then launching
windbg, the user is required to attach the process. Before
attaching, the symbol path, image path, and source path
are all setup pointing at the key directories. After the
attach process (f6 in windbug) is selected from the
process list, windbg attempts to attach to my service but
I am not successful in getting windbg to resolve the
symbols cleanly. windbg tells me that my symbols do not
match. I have researched many sites including microsoft
and coming up empty. Has anyone had any success using
windbg to debug a service? Thank you, Jeff
 
D

Darren Kennedy

Well that *helpful* article doesn't give you the MS symbol store location.

Here's my env var -
_NT_SYMBOL_PATH=SRV*c:\winnt\symbols*http://msdl.microsoft.com/download/symb
ols;c:\Program Files\MyApp
Where c:\winnt\symbols is the dir the downloaded symbols will be placed
and c:\Program Files\MyApp is the dir containing the dbg files for the app I
am debugging.

Hope this helps
-Darren
 

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