Small erratum: it's not in the Nightly currently available in Play Store, it should be in the next one.

Le 27/05/2024 à 15:21, Julien Wajsberg a écrit :

Hey folks,

It's been notoriously difficult to get MOZ_LOG output from Firefox for Android (aka Fenix). Setting environment variables is cumbersome, setting individual preferences is painful, about:logging isn't working there either.

That's why I implemented in bug 1894703 (https://bugzilla.mozilla.org/show_bug.cgi?id=1894703) another way to set MOZ_LOG modules using a single preference.

Now it's possible to open /about:config/, and set just one preference /logging.config.modules/ with the same MOZ_LOG syntax that you know and love. Note that /about:config /isn't available in Fenix Release.

Then it's possible to use the Firefox Profiler to capture these log messages: more information about that in https://profiler.firefox.com/docs/#/./guide-profiling-firefox-android.


I'd also like to thank Paul Adenot for his support while implementing this.


Happy debugging!

--

Julien


--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/11ac04d7-5c2c-431b-995e-d4af0fb716d9%40mozilla.com.

Reply via email to