LKBEN10869: Howto setup windbg debugging symbols for debugging crash dump files in windows


Symptom

You want to analyse a crash dump from a terminal server system and locate the faulting instruction

Cause

This is relatively complex but needed for heavy troubleshooting

Solution

You will have to install the windows debugging tools. These can be downloaded from the microsoft website. Now you can use windbg as your debugger. To configure the symbol tables you follog the following steps:

You create a directory c:\symbols on your development computer.

You go to the File menu and select "Symbol file path..." and enter

SRV*c:\symbols *http://msdl.microsoft.com/download/symbols

When you load your crash dump, your debugger can take a while! (because it might be downloading some symbol tables)

When you enter "!analyze -v" your debugger will deliver quite a bit of usefull information about your crash. With this information you can try to find the error in your source code and correct it.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.