Hello,

I landed some patches yesterday[1] that have now merged to m-c to allow 
uploading symbols from try builds to the symbol server. Previously if you 
wanted to debug a try server build it involved a bunch of annoying manual 
steps, but now you can simply ask for symbol upload tasks to run and then use 
the symbol server almost exactly like you would with a nightly or release build.

Symbol upload isn't enabled by default (since I expect most people are unlikely 
to need it), but there are two ways to enable it:
1) Run `mach try fuzzy --full` and select the `${build}-upload-symbols` tasks 
that correspond to the builds you're requesting. These tasks won't show up 
without `--full`, FYI.
2) After pushing to try, use Treeherder's "Add new jobs" tool (available from 
the menu under the little triangle on the top right) and add the `Sym` jobs 
corresponding to the builds you requested.

To debug the resulting build you will need to use a slightly different URL for 
the symbol server: https://symbols.mozilla.org/try . You can otherwise follow 
the symbol server instructions[2]. Try symbols are stored separately from 
builds we ship to avoid any contamination as well as to have a shorter 
retention period (28 days, matching the Taskcluster artifact expiration for 
try). This won't currently work with my GDB symbol server script[3] because it 
has a hardcoded symbol server URL, but you can of course edit the script to fix 
that.

I'll update the symbol server docs soon.

-Ted

1. https://bugzilla.mozilla.org/show_bug.cgi?id=1437577
2. 
https://developer.mozilla.org/en-US/docs/Mozilla/Using_the_Mozilla_symbol_server
3. https://gist.github.com/luser/193572147c401c8a965c
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to