Difference between revisions of "Mozilla Source and Symbol Server"

From CDOT Wiki
Jump to: navigation, search
(rewrite)
Line 1: Line 1:
'''This needs to be turned into a project...'''
+
= Overview =
  
 
Mozilla has a [http://developer.mozilla.org/en/docs/Using_the_Mozilla_symbol_server symbol server] for Windows builds that allows developers or users to debug nightly and release builds without having to ship debug symbols along with the builds.  This can be very useful when a user has a problem that developers can't reproduce, or when you hit a crash or hang during your normal browsing, not using a debug build.
 
Mozilla has a [http://developer.mozilla.org/en/docs/Using_the_Mozilla_symbol_server symbol server] for Windows builds that allows developers or users to debug nightly and release builds without having to ship debug symbols along with the builds.  This can be very useful when a user has a problem that developers can't reproduce, or when you hit a crash or hang during your normal browsing, not using a debug build.
Line 14: Line 14:
 
** [http://landfill.mozilla.org/bonsai-test/bonsai/cvsblame.cgi?file=mozilla/makefile.win&rev=&root=%2Fhome%2Fcvsroot&raw=1 Example Usage]
 
** [http://landfill.mozilla.org/bonsai-test/bonsai/cvsblame.cgi?file=mozilla/makefile.win&rev=&root=%2Fhome%2Fcvsroot&raw=1 Example Usage]
 
* WinDbg comes with a perl script for doing some of this work, probably at C:\Program Files\Debugging Tools for Windows\sdk\srcsrv\cv2http.pl
 
* WinDbg comes with a perl script for doing some of this work, probably at C:\Program Files\Debugging Tools for Windows\sdk\srcsrv\cv2http.pl
* The symbolstore.py script in the Mozilla tree that builds the Breakpad symbol store [http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/toolkit/airbag/tools/symbolstore.py&rev=1.2&cvsroot=/cvsroot&mark=96-123#96 already has support for grabbing CVS revision numbers]
+
* The symbolstore.py script in the Mozilla tree that builds the Breakpad symbol store [http://bonsai.mozilla.org/cvsblame.cgi?file=/mozilla/toolkit/crashreporter/tools/symbolstore.py&rev=1.6&root=/cvsroot&mark=64-77#64 already has support for grabbing CVS revision numbers]

Revision as of 10:47, 10 September 2007

Overview

Mozilla has a symbol server for Windows builds that allows developers or users to debug nightly and release builds without having to ship debug symbols along with the builds. This can be very useful when a user has a problem that developers can't reproduce, or when you hit a crash or hang during your normal browsing, not using a debug build.

While this is very useful, it doesn't provide source-level debugging. You can see function names and call stacks, but not the source at the location, which makes stepping through code very difficult. Luckily, Microsoft does provide a means to add source info to debug symbols, called a source server. Your mission is to sort through the Microsoft documentation and figure out how to add this to the existing Mozilla symbol server. The reward is having hundreds of developers and untold numbers of end users thank you for making life easier, and difficult crashes easier to fix.

Additional Resources