Closed
Bug 1460338
Opened 6 years ago
Closed 4 years ago
Migrate symbol server docs from MDN to in-tree
Categories
(Toolkit :: Crash Reporting, enhancement)
Toolkit
Crash Reporting
Tracking
()
RESOLVED
FIXED
83 Branch
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: ted, Assigned: gsvelto)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files, 1 obsolete file)
I wanted to make some changes to the symbol server docs on MDN, but MDN is refocusing on just web standards, so Gecko-specific docs don't really belong there anymore. I wrote a little Python script that uses pandoc to convert docs from MDN to rST and used it to import the symbol server docs and it worked pretty well: https://github.com/luser/convertmdn They could probably use a little bit of manual cleanup, but it's a good start.
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8974441 [details] bug 1460338 - Migrate symbol server docs from MDN to in-tree. https://reviewboard.mozilla.org/r/242786/#review248616 Code analysis found 1 defect in this patch: - 1 defect found by mozlint You can run this analysis locally with: - `./mach lint path/to/file` (JS/Python) If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx ::: toolkit/crashreporter/docs/Using_the_Mozilla_symbol_server.rst:72 (Diff revision 1) > +your 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/ Warning: Debugg ==> debug [codespell]
Assignee | ||
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8974441 [details] bug 1460338 - Migrate symbol server docs from MDN to in-tree. https://reviewboard.mozilla.org/r/242786/#review249354 This looks quite good overall but r-'ing it because some parts are mangled in a way that makes the text disappear. Patching them manually is fine if you don't want to make your script more complex. ::: toolkit/crashreporter/docs/Using_the_Mozilla_symbol_server.rst:20 (Diff revision 1) > +the content of all variables and the execution path can seem strange > +because of inlining, tail calls, and other compiler optimizations. The > +only workaround is to build an unoptimized local build. > + > +The official symbol server URL for Firefox is > +`` https://symbols.mozilla.org/ `` . You cannot visit this URL This appears as an URL, but the backquotes also appear. In this case the backquotes should be removed altogether and the URL will simply work. ::: toolkit/crashreporter/docs/Using_the_Mozilla_symbol_server.rst:24 (Diff revision 1) > +The official symbol server URL for Firefox is > +`` https://symbols.mozilla.org/ `` . You cannot visit this URL > +directly: you must add it to the symbol path of your debugging tool. In > +the examples below, a local cache directory is used to avoid repeatedly > +fetching the PDB from the server. Replace > +`` C:\Users\bsmedberg\symbols `` with an appropriate cache directory This causes the backslashes to disappear in the path. The issue seems to boil down to the spaces being present after the double backquotes but before the start of the path. Removing the spurious spaces makes the output looks correct. This same problem happens in other snippets below with double backquotes followed by spaces. ::: toolkit/crashreporter/docs/Using_the_Mozilla_symbol_server.rst:43 (Diff revision 1) > +asterisk characters. To use only the Mozilla symbol server, add the > +following entry to your symbol path ( **note:** you can replace c > +`` :\symcache\ `` with any writable directory on your computer, if > +you'd prefer a different location for downloaded symbols): > + > +.. code:: eval This is causing the text below to disappear, replacing it with a simple :: solves the issue. ::: toolkit/crashreporter/docs/Using_the_Mozilla_symbol_server.rst:54 (Diff revision 1) > +would like to get symbols from Microsoft's symbol server as well, you > +should list that first ( **note:** you can replace c > +`` :\symcache\ `` with any writable directory on your computer, if > +you'd prefer a different location for downloaded symbols): > + > +.. code:: eval Likewise.
Attachment #8974441 -
Flags: review?(gsvelto) → review-
Reporter | ||
Updated•5 years ago
|
Assignee: ted → nobody
Assignee | ||
Comment 4•4 years ago
|
||
Let's finish this work.
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Updated•4 years ago
|
Blocks: migrate-from-mdn
Assignee | ||
Comment 5•4 years ago
|
||
This patch migrates the symbol server docs from MDN to an in-tree file.
Assignee | ||
Comment 6•4 years ago
|
||
The links and instructions in the page have been updated to reflect the
changes in the symbol server and the old copy was removed. Images have been
recompressed to reduce size.
Updated•4 years ago
|
Attachment #9180153 -
Attachment is obsolete: true
Pushed by gsvelto@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb353c305f6e Migrate symbol server docs from MDN to in-tree. r=sylvestre DONTBUILD
Comment 8•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox83:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•