Bob Altman
2008-12-11 21:04:58 UTC
Hi all,
I'm using Visual Studio 2005 to debug a process crash dump. The dump file
was generated on a computer running Windows XP SP2. I'm debugging it on a
computer running XP SP3. I've defined the _NT_SYMBOL_PATH environment
variable as:
symsrv*symsrv.dll*E:\DebugSymbols\*http://msdl.microsoft.com/download/symbols
When I load the dump file into the VS debugger and look at the loaded
modules I see that symbols were not loaded for ntdll.dll. The "Symbol
Status" is "No matching binary found". I also see that it is looking for a
different version of ntdll.dll than the version in my System32 folder -- not
surprising since the debug PC has different service packs and updates than
the application PC.
So, what's the easiest way to get symbols for the DLLs whose versions differ
from (or which may be completely missing from) the debug PC's DLLs?
Note that we have a bunch of application PCs, each with its own collection
of updates and service packs, none of which are convenient for doing
debugging. So the standard procedure is to capture a crash dump and take it
to a different PC for analysis. So I have the general problem of setting up
the debug PC to make it as easy and automatic as possible to get correct
symbols for the dump file being analyzed.
TIA - Bob
I'm using Visual Studio 2005 to debug a process crash dump. The dump file
was generated on a computer running Windows XP SP2. I'm debugging it on a
computer running XP SP3. I've defined the _NT_SYMBOL_PATH environment
variable as:
symsrv*symsrv.dll*E:\DebugSymbols\*http://msdl.microsoft.com/download/symbols
When I load the dump file into the VS debugger and look at the loaded
modules I see that symbols were not loaded for ntdll.dll. The "Symbol
Status" is "No matching binary found". I also see that it is looking for a
different version of ntdll.dll than the version in my System32 folder -- not
surprising since the debug PC has different service packs and updates than
the application PC.
So, what's the easiest way to get symbols for the DLLs whose versions differ
from (or which may be completely missing from) the debug PC's DLLs?
Note that we have a bunch of application PCs, each with its own collection
of updates and service packs, none of which are convenient for doing
debugging. So the standard procedure is to capture a crash dump and take it
to a different PC for analysis. So I have the general problem of setting up
the debug PC to make it as easy and automatic as possible to get correct
symbols for the dump file being analyzed.
TIA - Bob