Hey folks,

Yesterday Bug 1803607 [1] landed. What this brings is a new way to control the Firefox Profiler on Android, *and* a new way to capture MOZ_LOGs on Android.

All this in just one interface, that you may already know and use on desktop.

Follow these simple steps:

1. Open a tab, and go to /about:logging./
2. Select a suitable preset depending on your use case. This preset
   will define appropriate log modules as well as the right set of
   profiler options and captured threads for this use case.
3. Start logging with the button at the top.
4. Stop logging with the same button.

After stopping, you'll be given the choice to either save the profile to a local file, or upload the profile to the common storage.

If you pick the upload option, you'll be able to easily share the link either with a messaging platform or with Firefox Sync if it's configured. Note that opening the profiler URL on Fenix doesn't work properly currently, but we're working on this!


You want to add a new logging preset for your use case? It's possible! Just add an item to the object in [2].

Would you want to add a profiler preset, you can do it as well in [3].


Feedback very welcome! Come and talk with us on the Firefox Profiler channel in Element :-)

Best,

--
Julien



[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1803607

[2] https://searchfox.org/mozilla-central/rev/601256c3cc6f397b018995810fd3f586570f50ee/toolkit/content/aboutLogging/aboutLogging.mjs#71

[3] https://searchfox.org/mozilla-central/source/devtools/shared/performance-new/prefs-presets.sys.mjs

--
You received this message because you are subscribed to the Google Groups 
"dev-platform@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dev-platform+unsubscr...@mozilla.org.
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/5636fadd-d48e-4195-9173-61af764b83d0%40mozilla.com.

Reply via email to