Closed Bug 1543501 Opened 5 years ago Closed 5 years ago

Some improvements to MOZ_DBG

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: botond, Assigned: botond)

Details

Attachments

(3 files)

No description provided.

stderr does not go anywhere by default on Android. Debugging output is
conventionally sent to the Android log via special functions like
__android_log_print.

We already have logic for handling this in nsCRTGlue's printf_stderr, but
I don't think we can use that in MFBT.

Depends on D26984

This allows it to be used more easily with MOZ_DBG().

Depends on D26985

Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/daaf43ea3783
Print a 'token' that allows output from MOZ_DBG() to be easily grepped for among other output. r=heycam
https://hg.mozilla.org/integration/autoland/rev/8a857aaa693a
Make MOZ_DBG() work on Android. r=heycam
https://hg.mozilla.org/integration/autoland/rev/f5d3c4db8758
Add operator<< to ScaleFactor. r=kats
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: