Bug 1661434 - move the image files to /img and remove cvs related contents.

Differential Revision: https://phabricator.services.mozilla.com/D88735
This commit is contained in:
Emil Farisan 2020-08-31 12:14:21 +00:00
Родитель 3997e86c02
Коммит 63b045f2d9
8 изменённых файлов: 7 добавлений и 57 удалений

Двоичные данные
taskcluster/docs/img/enableSourceServer.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 27 KiB

Двоичные данные
taskcluster/docs/img/snip_20170901070042.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 33 KiB

Двоичные данные
taskcluster/docs/img/snip_20170901081816.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 7.8 KiB

Двоичные данные
taskcluster/docs/img/symbol-server-windbg-menu.jpg Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 18 KiB

Двоичные данные
taskcluster/docs/img/vs_tools_options.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 19 KiB

Двоичные данные
taskcluster/docs/img/windbg-srcfix.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 17 KiB

Просмотреть файл

@ -19,12 +19,6 @@ What you'll need
- A nightly build that was created after April 15, 2008; go to the
`/pub/firefox/nightly/latest-mozilla-central/ <https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/>`__
folder and grab the installer
- For builds predating the switch to Mercurial, you'll need cvs.exe,
added to your PATH (the cvs.exe from MozillaBuild has problems, `use
this one
instead <http://ftp.gnu.org/non-gnu/cvs/binary/stable/x86-woe/cvs-1-11-22.zip>`__)
Do *not* use the CVS from MozillaBuild, it will not work!
Set up symbols
--------------
@ -39,18 +33,8 @@ Using the source server in WinDbg
In the WinDbg command line, type ``.srcfix`` and hit enter. This enables
source server support.
|Image:windbg-srcfix.png|
.. image:: img/windbg-srcfix.png
Now, when you click on a frame in the "Calls" window, WinDbg will prompt
you about running cvs to download the associated source code.
|Image:Windbg-Srcsrv-prompt.png|
If you click "Yes", WinDbg will display \*BUSY\* in the status bar while
it downloads the source, and then it will automatically open the file
and highlight the current line.
|Image:Windbg-Srcsrv-src.png|
Using the source server in Visual Studio
----------------------------------------
@ -64,28 +48,4 @@ Enable source server support under Tools -> Options. Also, disable
(uncheck) the box that says "Require source files to exactly match the
original version".
|Image:enableSourceServer.png|
Start debugging your program. Symbols will load and then, if you're
using a CVS build, when you try to step into or step over a confirmation
window will appear asking if you trust the cvs command that Source
Server is trying to run.
|Image:cvsMessage.png|
After the command executes, the source file will load in the window.
|Image:firefoxDebugging.png|
.. |Image:windbg-srcfix.png| image:: https://developer.mozilla.org/@api/deki/files/969/=Windbg-srcfix.png
:class: internal
.. |Image:Windbg-Srcsrv-prompt.png| image:: https://developer.mozilla.org/@api/deki/files/421/=Windbg-Srcsrv-prompt.png
:class: internal
.. |Image:Windbg-Srcsrv-src.png| image:: https://developer.mozilla.org/@api/deki/files/422/=Windbg-Srcsrv-src.png
:class: internal
.. |Image:enableSourceServer.png| image:: https://developer.mozilla.org/@api/deki/files/674/=EnableSourceServer.png
:class: internal
.. |Image:cvsMessage.png| image:: https://developer.mozilla.org/@api/deki/files/636/=CvsMessage.png
:class: internal
.. |Image:firefoxDebugging.png| image:: https://developer.mozilla.org/@api/deki/files/699/=FirefoxDebugging.png
:class: internal
.. image:: img/enableSourceServer.png

Просмотреть файл

@ -30,9 +30,8 @@ with an appropriate cache directory on your machine.
Using the symbol server in Microsoft Visual C++
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|The Tools menu of Visual C++ with the Options item selected| |The
Visual C++ 2017 Symbols pane of the Options dialog with the Mozilla
symbol server configured|
.. image:: img/vs_tools_options.png
.. image:: img/snip_20170901070042.png
Using the symbol server in Windbg
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -58,8 +57,8 @@ location for downloaded symbols):
SRV*c:\symcache\*https://msdl.microsoft.com/download/symbols;SRV*c:\symcache\*https://symbols.mozilla.org/
|Image:symbol-server-windbg-menu.jpg| |The WinDbg Symbol Search Path
dialog with the Mozilla symbol server configured|
.. image:: img/symbol-server-windbg-menu.jpg
.. image:: img/snip_20170901081816.png
Downloading symbols using symchk.exe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -71,7 +70,7 @@ computer, if you'd prefer a different location for downloaded symbols):
::
C:\Program Files\Mozilla Firefox>c:\progra~1\debugg~1\symchk.exe /r c:\progra~1\mozill~1\* /s SRV*C:\symcache\*https://symbols.mozilla.org/
C:\Program Files\Mozilla Firefox>c:\progra~1\debug~1\symchk.exe /r c:\progra~1\mozill~1\* /s SRV*C:\symcache\*https://symbols.mozilla.org/
Note the ``\*`` after the Mozilla directory. The output of this command
should be similar to:
@ -137,12 +136,3 @@ Studio. Even using the command line with symchk.exe to download symbols
will fail. This is because Microsoft uses Internet Explorer's internet &
proxy settings to download the symbol files. Check the File menu of
Internet Explorer to ensure "Work Offline" is unchecked.
.. |The Tools menu of Visual C++ with the Options item selected| image:: https://mdn.mozillademos.org/files/10085/vs_tools_options.png
:class: internal
.. |The Visual C++ 2017 Symbols pane of the Options dialog with the Mozilla symbol server configured| image:: https://mdn.mozillademos.org/files/15387/snip_20170901070042.png
:class: internal
.. |Image:symbol-server-windbg-menu.jpg| image:: https://developer.mozilla.org/@api/deki/files/877/=Symbol-server-windbg-menu.jpg
:class: internal
.. |The WinDbg Symbol Search Path dialog with the Mozilla symbol server configured| image:: https://mdn.mozillademos.org/files/15389/snip_20170901081816.png
:class: internal