add a C++ macro that acts like Rust's dbg!()
Categories
(Core :: XPCOM, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: heycam, Assigned: heycam)
Details
Attachments
(5 files)
Lately I've found the Rust dbg!() macro very useful! I'd like something in C++ to use that works the same way -- that is, prints out the expression passed to it, then returns it.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Happy to hear ideas for a better macro name too.
Comment hidden (obsolete) |
Assignee | ||
Comment 4•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D24583
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D25023
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D25024
Comment 9•6 years ago
|
||
Backed out 4 changesets (bug 1538081) for causing BaseElf.cpp bustages
push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&selectedJob=237046627&revision=ced61a86c74c6ce2a966b2ac7880cfe3e7a8e0d8
backout: https://hg.mozilla.org/integration/autoland/rev/4e1afd84043705a5e072873af3d4d7957e639ba3
Assignee | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment 14•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b9e91906edae
https://hg.mozilla.org/mozilla-central/rev/3ae52b39cf6f
https://hg.mozilla.org/mozilla-central/rev/a01e770ef4f5
https://hg.mozilla.org/mozilla-central/rev/ac91a1c2e3f5
https://hg.mozilla.org/mozilla-central/rev/58a56c6b8543
Description
•