mozilla

Compare Revisions

Debugging Mozilla with Valgrind

Change Revisions

Revision 17959:

Revision 17959 by Jesse on

Revision 17960:

Revision 17960 by abillings on

Title:
Debugging Mozilla with Valgrind
Debugging Mozilla with Valgrind
Slug:
Debugging_Mozilla_with_Valgrind
Debugging_Mozilla_with_Valgrind
Content:

Revision 17959
Revision 17960
n10    <h3>n10    <h3 id="Where_can_I_get_Valgrind?">
n17      Mac: Make sure you have <a class="external" href="http://wwn17      Mac:&nbsp;<a class="external" href="http://valgrind.org/dow
>w.macports.org/" title="http://www.macports.org/">MacPorts</a> in>nloads/repository.html" title="http://valgrind.org/downloads/repo
>stalled, then <code>sudo port install valgrind</code>>sitory.html"><span class="external">Get Valgrind trunk from SVN</
 >span></a> and build it.
18    </p>
19    <div class="note">
20      <strong>Note:</strong> Installing via MacPorts won't actual
>ly work because Mozilla's build system can't find the valgrind he 
>aders in the MacPorts directories. Until this is fixed you should 
> install from source. 
21    </div>
22    <p>
23      You can also <a class="external" href="http://valgrind.org/
>downloads/repository.html" title="http://valgrind.org/downloads/r 
>epository.html"><span class="external">get Valgrind trunk from SV 
>N</span></a> and build it yourself. 
n26      Regardless of how you get it, make sure you have version 3.n20      Make sure you have version 3.7.0 or later of Valgrind.&nbsp
>7.0 or later.&nbsp; Newer versions tend to have better compatibil>; Newer versions tend to have better compatibility with both Fire
>ity with both Firefox's JITs and newer toolchain components (comp>fox's JITs and newer toolchain components (compiler, libc and lin
>iler, libc and linker versions).>ker versions).
n28    <h3>n22    <h3 id="Where_can_I_get_support?">
n34    <h3>n28    <h3 id="What's_the_bare_minimum_I_need_to_know_to_get_started
 >?">
n55    <h3>n49    <h3 id="Toolchain_caveats_(updated_30_May_2011)">
n67    <h3>n61    <h3 id="Is_there_a_shared_Memcheck_suppression_file_for_known
 >_bugs?">
n76    <h3>n70    <h3 id="What_do_I_do_if_the_JIT_crashes_on_startup?">
n85    <h3>n79    <h3 id="How_Do_I_Run_A_Mochitest_Under_Valgrind?">
n103    <h3>n97    <h3 id="Tips_for_improving_performance_and_accuracy_of_Valgri
 >nd's&nbsp;Memcheck_tool">
n160    <h3>n154    <h3 id="Per-platform_comments,_current_as_of_23_March_2011">
n163    <h4>n157    <h4 id="Linux_on_X86/AMD64/PPC32/PPC64/ARMv7">
n178    <h4>n172    <h4 id="Mac_OS_X_10.5.x_and_10.6.x_on_X86_and_AMD64">
t184    <h4>t178    <h4 id="Windows_on_X86_(32-bit)">

Back to History