Symbol Server Advice

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hello,

Pardon my inexperience on this subject but I'm looking for some advice/help
with getting a symbol server up and running for about 200 C++ projects. I've
followed the documented steps to create the network symbol server and add
the files to the symbol store. This seems to be working great from a process
standpoint. The problem I'm having is related to the symbols not loading (my
symbols, not the OS) when attaching/starting a process with WinDbg. Here are
the steps I'm following for my test.

- Copy the .PDB files from the build PC to the symbol server
- Add the files to the symbol store (using /r /o /f switches)
- Install the build on a test pc
- Start WinDbg on this pc, enable "-noisy", and set the symbol path
(SRV*c:\symbols*http://msdl.microsoft.com/download/symbols;\\SymbolServer\Symbols)
- Launch one of the apps on the test PC and attach via WinDbg

If I look in WinDbg under the Debug->Modules... menu, the checksum column
for my files shows all zeros, with the Symbols column being empty. If I do a
..reload /f on one of my modules, it will load (Symbols column says .PDB) but
the command window outputs "unable to verify checksum ...". These projects
are currently VS2003 projects that were converted from VS6. I'm guessing
this has something to do with project settings(?). If this helps, here's
some of the relevant command line info from the C/C++ section of one
project's "Release" property page.

/O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_AFXEXT" /D
"_WINDLL" /D "_AFXDLL" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /GS
/Zc:wchar_t /Zc:forScope /Yu"stdafx.h" /Fp".\Release/CPCVideo.pch"
/Fo".\Release/" /Fd".\Release/" /W4 /nologo /c /Zi

I'm assuming that if the checksum can be verified by WinDbg that the symbols
will automatically load, and be copied to c:\symbols?

Thanks in advance for any advice.

Brad Jones (not CodeGuru Guy!)


.



Relevant Pages

  • Re: WinDbg Setup
    ... you will need to put the symbol server and the directory where your PDB ... > Also, does WinDbg automatically interrogate the target machine, and work> with the Symbol Server to get the right stuff? ... >>> and have separate host and a targe pcs, connected via a null modem> cable. ...
    (microsoft.public.development.device.drivers)
  • Re: can I wait an event object in a different driver?
    ... I also downloaded the latest version of WinDbg. ... Use symbol server instead. ... Successfully sending IOCTL doesn't mean the target devobj is yours since ... IRPs will travel down the whole stack until someone completed it. ...
    (microsoft.public.development.device.drivers)
  • Re: Close but no cigar
    ... > (which got me up and running with WinDbg.) ... > Got it to work in WinDbg using SOS.dll and I get a recognisable stack trace ... > it all set up to use the symbol server - and it downloads the symbols OK - ...
    (microsoft.public.vc.debugger)
  • Re: my debugger is soooooo slow
    ... symbol server, you might research making a local symbol server if you ... > I am using WinDbg 6.2.00.13.0 and at one point the debugging was really> fun since everything was going in almost realtime. ...
    (microsoft.public.development.device.drivers)