Changes

Jump to: navigation, search

Mercurial Source Server 0.1 Instructions

259 bytes added, 19:59, 18 October 2008
no edit summary
'''NOTE:''' I was only able to get this to work when linking my debugger (Visual Studio 2008) to Firefox, not Minefield. I used Firefox 3.0.3.
 
= Source Server Setup Instructions =
If you see this output, you've successfully modified the pdb file.
== Re-running the Source Server ==
Re-run visual studio (or WinDbg if you prefer) using your existing source server settings, attach to firefox.exe. After the symbols have been loaded, switch to the call stack. Keep in mind that the old xul.pdb had over 6000 indexed source files, while the new xul.pdb has only 6 indexed source files for testing purposes.
However, if you try to click on a line call inside nsBaseAppShell.cpp (you should see this file often in the stack) you'll notice in the status bar in the bottom left corner that Visual Studio is downloading the files from hg.mozilla.org/...../nsBaseAppShell.cpp, followed by the nsBaseAppShell.cpp file being opened up in VS. For further proof, right click on the nsBaseAppShell.cpp tab and select Open Containing Folder. You should see a location similar to the following:
 
[[Image:Mercurial_destination.jpg]]
 
This address shows that the file was downloaded from the mozilla-central tree.
1
edit

Navigation menu