Revision 21648 of Using the Mozilla symbol server

  • Revision slug: Using_the_Mozilla_symbol_server
  • Revision title: Using the Mozilla symbol server
  • Revision id: 21648
  • Created:
  • Creator: Djpnewton
  • Is current revision? No
  • Comment added note to change f:\localsymbols\ to a writable dir on users pc

Revision Content

The Mozilla project runs a symbol server for Firefox nightly and release builds on Windows. This allows debugging of those builds without forcing all users to download large debugging files. The server functions like Microsoft's symbol server so the documentation there can be useful.

The official symbol server URL is http://symbols.mozilla.org/firefox. You cannot visit this URL directly: you must add it to the symbol path of your debugging tool. In the examples below, a local cache directory is used to avoid repeatedly fetching the PDB from the server. Replace <tt>C:\Users\bsmedberg\symbols</tt> with an appropriate cache directory on your machine.

Using the symbol server in Microsoft Visual C++ Express Edition

Choose Tools -

Using the symbol server in Windbg

The Windbg symbol path is configured with a string value delimited with asterisk characters. To use only the Mozilla symbol server, add the following entry to your symbol path (note: replace f:\localsymbols\ with a writable directory on your computer):

 SRV*f:\localsymbols\*http://symbols.mozilla.org/firefox

Set this string as _NT_SYMBOL_PATH in the environment, using the Windbg menus, or by typing the .sympath command. If you would like to get symbols from Microsoft's symbol server as well, you should list that first (note: replace f:\localsymbols\ with a writable directory on your computer):

 SRV*f:\localsymbols\*http://msdl.microsoft.com/download/symbols;SRV*f:\localsymbols\*http://symbols.mozilla.org/firefox

Image:symbol-server-windbg-menu.jpg Image:symbol-server-windbg-dialog.jpg

Revision Source

<p>The Mozilla project runs a symbol server for Firefox nightly and release builds on Windows.  This allows debugging of those builds without forcing all users to download large debugging files.  The server functions like <a class="external" href="http://support.microsoft.com/kb/311503">Microsoft's symbol server</a> so the documentation there can be useful.
</p><p>The official symbol server URL is http://symbols.mozilla.org/firefox. You cannot visit this URL directly: you must add it to the symbol path of your debugging tool. In the examples below, a local cache directory is used to avoid repeatedly fetching the PDB from the server. Replace <tt>C:\Users\bsmedberg\symbols</tt> with an appropriate cache directory on your machine.
</p>
<h3 name="Using_the_symbol_server_in_Microsoft_Visual_C.2B.2B_Express_Edition"> Using the symbol server in Microsoft Visual C++ Express Edition </h3>
<p><img alt="Choose Tools -" src="File:en/Media_Gallery/Symbol-server-vc8express-menu.jpg"></p>
<h3 name="Using_the_symbol_server_in_Windbg"> Using the symbol server in Windbg </h3>
<p>The Windbg symbol path is configured with a string value delimited with asterisk characters. To use only the Mozilla symbol server, add the following entry to your symbol path (<b>note:</b> replace <code>f:\localsymbols\</code> with a writable directory on your computer):
</p>
<pre class="eval"> <span class="plain">SRV*f:\localsymbols\*http://symbols.mozilla.org/firefox</span>
</pre>
<p>Set this string as <code>_NT_SYMBOL_PATH</code> in the environment, using the Windbg menus, or by typing the <code>.sympath</code> command. If you would like to get symbols from Microsoft's symbol server as well, you should list that first (<b>note:</b> replace <code>f:\localsymbols\</code> with a writable directory on your computer):
</p>
<pre class="eval"> <span class="plain">SRV*f:\localsymbols\*http://msdl.microsoft.com/download/symbols;SRV*f:\localsymbols\*http://symbols.mozilla.org/firefox</span>
</pre>
<p><img alt="Image:symbol-server-windbg-menu.jpg" src="File:en/Media_Gallery/Symbol-server-windbg-menu.jpg">
<img alt="Image:symbol-server-windbg-dialog.jpg" src="File:en/Media_Gallery/Symbol-server-windbg-dialog.jpg">
</p>
Revert to this revision