Re: reading .pdb debug data
it would appear i am not the first or only one to have this problem:
http://social.msdn.microsoft.com/For...-c1903be865e5/
Dear microsoft, if you feel the urge to use technology as broken and unmaintainable as the DIA, please at least make sure the basic and most frequently used tasks actually work.
And when you fail to do so and a customer complains, please fix it, for god s sake.
Unbelievable.
Re: reading .pdb debug data
Here's where the DIA is looking for the pdb file.
Quote:
>Dia2Dump.exe -s c:\windows\system32\kernel32.dll
pdb opening c:\windows\system32\kernel32.pdb...
pdb opening C:\Program Files\Microsoft Visual Studio 9.0\DIA SDK\Samples\DIA2Dump\Debug\kernel32.pdb...
pdb opening C:\WINDOWS\symbols\dll\kernel32.pdb...
pdb opening C:\WINDOWS\dll\kernel32.pdb...
pdb opening C:\WINDOWS\kernel32.pdb...
loadDataForExe failed - HRESULT = 806D0005
But why not look in the local symbol store or _NT_PATH ?
Probably because the developer explicitly forbids it...?
Quote:
HRESULT STDMETHODCALLTYPE RestrictSymbolServerAccess()
{
// return hr != S_OK to prevent accessing a symbol server
return S_OK;
}
Oh wait, he doesnt.