Closed Bug 1864675 Opened 2 years ago Closed 2 years ago

Add pretty printers for SyncedContext fields

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(firefox122 fixed)

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: farre, Assigned: simon.farre.x)

Details

Attachments

(2 files)

The synced context uses the empty base class optimization to pack synced fields. Unfortunately it makes synced fields pretty hard to read and because of that it would be good to have a gdb pretty printer filtering out the empty base classes.

Assignee: nobody → simon.farre.cx

Makes debugging of synced context fields more palatable.

Can you attach a screenshot of how this looks in practice?

Flags: needinfo?(simon.farre.cx)

Pretty printing example

Flags: needinfo?(simon.farre.cx)

This looks really nice. Thank you for helping out and improving synced fields debugability.

Pushed by afarre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e331d786fff5 Add pretty printers for SyncedContext fields r=farre,nalexander
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: