NTDLL.DLL

T

Tim Peer

Are the debug symbols for 'c:\WINNT\system32\NTDLL.DLL'
available anywhere? I am debugging a multi-threaded
application and it appears to get hang in NTDLL.

Any help would be appreciated.

Thanks!
 
P

Patrick Grawehr

This dll is part of the windows kernel, and you usually don't have to worry
about it. There are some situations, however, where your program may seem to
hang exactly there.
Try the following: First, go to Tools->Options->Debugging->Native and Check
"Load DLL Exports", this gives some meaning to the addresses in *all* dlls
and is very usefull. Then, look at the call stack when you program seems to
hang. All calls to NTDLL go through the kernel32.dll, so you have a hint
what you where doing when your program hung.
Another tip: If the call stack says that your program hangs in a function
called WaitForCriticalSection or something similar, you have a
deadlock-problem.
 
J

Jan Bares

Use Microsoft Symbol Server - this will automatically download correct
symbols on the fly.

Jan
 

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