tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

using-the-mozilla-source-server.rst (1325B)


      1 Using The Mozilla Source Server
      2 ===============================
      3 
      4 Using the Mozilla source server is now even more feature-packed. The
      5 nightly debug builds are now also Source Indexed so that by following a
      6 couple of simple steps you can also have the source code served to you
      7 for debugging without a local build.
      8 
      9 What you'll need
     10 ----------------
     11 
     12 - `WinDbg <https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/>`__ or Visual Studio (not Code)
     13 - A nightly build; go to the
     14  `/pub/firefox/nightly/latest-mozilla-central/ <https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/>`__
     15  folder and grab the installer
     16 
     17 Set up symbols
     18 --------------
     19 
     20 Follow the instructions for :ref:`Using the Mozilla symbol
     21 server <Using The Mozilla Symbol Server>`. Once
     22 the symbol path is set you must now enable Source Server.
     23 
     24 Using the source server in WinDbg
     25 ---------------------------------
     26 
     27 In the WinDbg command line, type ``.srcfix`` and hit enter. This enables
     28 source server support.
     29 
     30 .. image:: img/windbg-srcfix.png
     31 
     32 
     33 Using the source server in Visual Studio
     34 ----------------------------------------
     35 
     36 Enable source server support under Tools -> Options. Also, disable
     37 (uncheck) the box that says "Require source files to exactly match the
     38 original version".
     39 
     40 .. image:: img/enableSourceServer.png