News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DBGHELP: user32.pdb - file not found

Started by herge, April 14, 2008, 01:30:35 PM

Previous topic - Next topic

herge


Hi All:

I have a corrupt user32.pdb file.
I have deleted user32.pdb.
Is there any way that I can create the
user32.pdb myself?
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

sinsi

Hi herge:

Where did you get the .pdb from?
It's usually produced by a linker.

You can get the Windows .pdb's from the MS symbol server - download the whole set (muchos megs) or windbg/ida/whatever can download them on the fly.
Light travels faster than sound, that's why some people seem bright until you hear them.

herge


Hi sinsi:

You are right sinsi Windows Symbols XP2 is a measly
204 MB. I think it took a couple of Days to download
from Microsoft.
I tried re-installing but that did not work.

Regards Herge
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

sinsi

You also need to let your debugger know where they are.
After much trial and error, I got windbg to find mine - the help file is twisted but (in the end) helpful.
Any other debugger, you are on your own (sorry).
Light travels faster than sound, that's why some people seem bright until you hear them.

herge

 Hi sinsi:

I find that using the
.sym noisy
comes in handy it shows where
windbg is looking for pdb files.
Also a simple text editor like
notepad comes in handy for
setting up paths to symbols,
and source and image files.
You can't see the bytes you
type in the little window in
windbg. So I paste them in
from a notepad file. Now you
can the typing mistakes.

Regards Herge
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

herge

hi All:
It should be
!sym noisy

Regards herge
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

sinsi

G'day herge, merry xmas

In my 'environment variables' I have:
_NT_SYMBOL_PATH=srv*c:\utils\symbols*http://msdl.microsoft.com/download/symbols

Now "c:\utils\symbols" is my own dir, it has subdirs called e.g. "C:\Utils\symbols\kernel32.pdb\34560E80F5C54175B208848EF863C5BD2"
Every time I use windbg or ida it gets the latest .pdb file from msdn, and it can have multiple copies (I have 3 other *long number* subdirs for kernel32.pdb)
Light travels faster than sound, that's why some people seem bright until you hear them.