Search code examples
windows-phone-8windbgstack-tracedebug-symbolscab

What is the meaning of "Symbol Files" in WinDbg?


I have to understand my application's crashes from stack trace WPDEV. I followed up this link but didn't understand Step 6 "Symbol File Path". What is that?

Thanks.


Solution

  • Symbol files help you debug by (among other things) providing names for functions in call stacks rather than just byte offsets into a DLL. Read these pages of documentation to fully understand what a symbol file is and how helpful they can be while debugging.

    The symbol file path is the local folder(s) on disk or remote symbol server URL(s) where the symbol files are retrieved from. Microsoft and other organizations typically make available a symbol server where you can download the symbol files for any library they distribute.

    Windbg and Visual Studio use this path and automatically figure out which symbols to download based on the libraries that are loaded in the process being debugged. They are then (usually) cached locally to avoid downloading them repeatedly.