Debugging a project as large as Mozilla can be a daunting task.  Fortunately, over the years, Mozilla developers have come up with not just technologies and features to help you debug code, but have devised tips and techniques that can help too.  Also available are assorted tools that you can use when debugging.


Documentation topics

Debugging topics

Debugging memory leaks
Learn about tools and techniques that will help you debug memory leaks.
Building Firefox with debug symbols
How to build Firefox with debug symbols enabled, to help with debugging.
Debugging a hang on Mac OS X
Helpful tips for debugging hangs on Mac OS X.
Remote debugging
Sometimes useful if a developer can't reproduce your crash.
Replay debugging Firefox with VMWare Workstation
How to setup record and replay debugging on Firefox, to help debug intermittent mochitest failures.
Debugging OpenGL Requires Gecko 2.0
If you're working on code that involves OpenGL calls, and need to debug it, you can turn on a special OpenGL debugging mode.

Frequently asked questions

Debugging Mozilla on Windows FAQ
Questions (and answers) about debugging Mozilla on Windows.
Debugging Mozilla on Mac OS X
Questions (and answers) about debugging Mozilla on Mac OS X.
Debugging Mozilla with gdb
gdb is our primary debugger on Mac and Linux.
Debugging Mozilla with lldb
lldb is the new debugger on Mac.
Debugging Mozilla with valgrind
valgrind is a memory debugger for Mac and Linux.  It is slow, but good for tracking down difficult memory safety bugs.
Debugging Safari
Some tips for debugging Safari
Debugging Chrome
Some tips for debugging Chrome
Debugging Internet Explorer
Some tips for debugging Internet Explorer

Debugging specific technologies

Debugging JavaScript code
How to debug JavaScript code, with a focus on debugging code in the Mozilla project itself.
Debugging a XULRunner application
Tips and suggestions that will help you debug your XULRunner based application.
Debugging frame reflow
Learn how to debug frame reflow.
Debugging table reflow
Learn how to debug table reflow.
Debugging update problems
Learn how to debug update problems.

Debugging tools

Assorted tools that will help you debug your code or web site.
Download a debug build
Recent automatically compiled debug builds are available. Note that these are replaced frequently by our tinderboxes. The debug builds have "-debug" at the end of their file names.



Tags (0)

Edit tags
  • No tags

Attachments (0)


Attach file