Add PrintDisplayItemToStdout and PrintDisplayListToStdout helper functions for debugging

RESOLVED FIXED in Firefox 51

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: mstange, Assigned: mstange)

Tracking

Trunk
mozilla51
Points:
---

Firefox Tracking Flags

(firefox51 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
The existing nsFrame::PrintDisplayList function, and its friends, all require an std::stringstream parameter which is hard to obtain while debugging with gdb.
(If I'm wrong about this, I'd love to be enlightened.)

So I think we should add two convenience functions that just print to stdout.
Comment hidden (mozreview-request)

Comment 2

2 years ago
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8d88c281d140
Add PrintDisplayItemToStdout and PrintDisplayListToStdout helper functions for debugging. r=jrmuizel

Comment 3

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/8d88c281d140
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox51: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51

Comment 4

2 years ago
mozreview-review
Comment on attachment 8785995 [details]
Bug 1298844 - Add PrintDisplayItemToStdout and PrintDisplayListToStdout helper functions for debugging.

https://reviewboard.mozilla.org/r/74986/#review76726
Attachment #8785995 - Flags: review?(jmuizelaar) → review+
You need to log in before you can comment on or make changes to this bug.