Cyberiafreak

"Fortunate are those who take the first steps.” ― Paulo Coelho

How to download Microsoft Lib symbols for Crash analysis.

To use the Symbol Server Web site from within WinDbg, follow these steps:

  1. Start the Windows Debugger (WinDbg.exe).
  2. On the File menu, click Symbol File Path.
  3. In the Symbol path box, type the following command:
    SRV*your local folder for symbols*http://msdl.microsoft.com/download/symbols

    where your local folder for symbols is the folder in which you copy your local symbol cache. The debug symbols are downloaded to this location.

    Note You can point to any local path or share that your computer can reach; it does not have to be a location on the computer’s hard disk.

Alternatively, you can also use the .sympath command at a command prompt to set the symbol path.

You can combine the symsrv syntax with other symbol paths. For example, use the following syntax to specify two or more symbol paths:

f:\BusObjSymbols;SRV*f:\localsymbols*http://msdl.microsoft.com/download/symbols
some useful commands,
  1. !analyze -v
  2. lmvm <modulename>
  3. K
  4. .ecxr
  5. kb
  6. ~*k
  7. .symfix
  8. .reload
  9. !sym noisy
  10. .cxr; r; kbn99; .echo ~~~; ub 102627d0 L18; u 102627d0 L5; .echo ~~~; ub
Advertisements

August 14, 2012 - Posted by | windbg

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: