Compare Revisions

Building Firefox with Debug Symbols

Revision 53905:

Revision 53905 by Ted_Mielczarek on

Revision 53906:

Revision 53906 by Brahmana on

Title:
Building Firefox with Debug Symbols
Building Firefox with Debug Symbols
Slug:
Building_Firefox_with_Debug_Symbols
Building_Firefox_with_Debug_Symbols
Tags:
Crash_reporting, "Developing Mozilla", "Build documentation"
Crash_reporting, "Developing Mozilla", "Build documentation"
Content:

Revision 53905
Revision 53906
n8       n8      By default, a release build of Firefox will not generate de
 >bug symbols suitable for debugging or post-processing into the <a
 > href="/en/Crash_reporting" title="en/Crash_reporting">breakpad</
 >a> symbol format. Use the following <a href="/en/Configuring_Buil
 >d_Options" title="en/Configuring_Build_Options">mozconfig</a> set
 >tings to do a build with symbols:
t11      By default, a release build of Firefox will not generate det11      {{ fx_minversion_header("4") }}
>bug symbols suitable for debugging or post-processing into the <a 
> href="/en/Crash_reporting" title="en/Crash_reporting">breakpad</ 
>a> symbol format. Use the following <a href="/en/Configuring_Buil 
>d_Options" title="en/Configuring_Build_Options">mozconfig</a> set 
>tings to do a build with symbols: 
12    </p>
13    <p>
14      Starting with Firefox 4.0b1 there is a single configure opt
 >ion to enabled building with symbols on all platforms.
15    </p>
16    <pre>
17ac_add_options --enable-debug-symbols[=DBG]
18</pre>
19    <p>
20      This will optionally take the type of symbols that need to 
 >be produced. By default it uses "-gdwarf2" on Linux and MacOS.
21    </p>
22    <p>
23      Note that this will override the values provided for CFLAGS
 > and CXXFLAGS.
24    </p>
25    <h3>
26      Building older versions of Firefox with debug symbols
27    </h3>
28    <p>
29      &nbsp;

Back to History