Changes

Jump to: navigation, search

Mobile/Fennec/Android/AdvancedTopics

34 bytes added, 00:40, 24 August 2016
Update PR logging for the change MOZ_LOG.
adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_$USER/.App -d 'http://www.mozilla.org'
=== PR C++ Logging ===
You can use the env vars as described above to enable NSPR MOZ_LOG loggingfrom C++ code:
adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_$USER/.App --es env0 NSPR_LOG_MODULESMOZ_LOG=all:5 --es env1 NSPR_LOG_FILEMOZ_LOG_FILE=/mnt/sdcard/log.txt
If no file is specified, logging is directed to the android logs:
adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_$USER/.App --es env0 NSPR_LOG_MODULESMOZ_LOG=all:5
Look for lines marked "PRLogGecko" with one of the requested log keys in the adb logcat output.
=== Using legacy GDB (non-JimDB) ===
Confirm
111
edits

Navigation menu