Closed
Bug 709088
Opened 13 years ago
Closed 13 years ago
Put dump() calls in debugger code behind a pref
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: past, Assigned: past)
References
Details
(Whiteboard: [fixed-in-fx-team])
Attachments
(1 file)
(deleted),
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
There are quite a few dump() calls in the debugger code currently. When we are past the initial development phase and approaching turning it on, we should get rid of them.
Assignee | ||
Updated•13 years ago
|
Priority: -- → P3
Assignee | ||
Comment 1•13 years ago
|
||
The removal deadline as per bug 697762 comment 53 is before the debugger migrates to aurora.
Assignee | ||
Comment 2•13 years ago
|
||
I'll get to this next week.
Assignee: nobody → past
Status: NEW → ASSIGNED
Priority: P3 → P2
Comment 3•13 years ago
|
||
In conversation about this today, Panos asked if he could put the dump()s behind a pref as the protocol is still changing and this is useful debugging information for us to have. The debugger is still preffed off by default, so I suggested just leaving them in rather than writing a patch for the sole purpose of hiding these debug statements.
Mossop: Do you think it's reasonable to just leave these in while we finish this feature up? I'd prefer it, though could understand objections to leaving them in a release product.
Comment 4•13 years ago
|
||
How hard would it be to put the dumps behind a separate pref? Most go through a separate dumpn call already, we could update the rest to go through a special dump that checks a pref.
We could consider leaving that pref turned on by default until we turn the debugger on by default.
Comment 5•13 years ago
|
||
(disclaimer: chatty debugger has been causing me trouble while working on the developer toolbar)
Comment 6•13 years ago
|
||
yeah, if it's annoying, then we can certainly hide it. Thanks!
Comment 7•13 years ago
|
||
I'm fine with the dumping not requiring a pref as long as the debugger defaults to off, but if you're going to want to leave it in then you might as well stick it behind a pref now anyway
Comment 9•13 years ago
|
||
Comment on attachment 603316 [details] [diff] [review]
Working patch
looks fine.
Attachment #603316 -
Flags: review?(rcampbell) → review+
Assignee | ||
Updated•13 years ago
|
Summary: Remove the dump() calls from debugger code → Put dump() calls in debugger code behind a pref
Assignee | ||
Updated•13 years ago
|
Whiteboard: [land-in-fx-team]
Assignee | ||
Comment 10•13 years ago
|
||
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 11•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 13
Comment 12•13 years ago
|
||
Thunderbird:
http://hg.mozilla.org/comm-central/rev/a7fa3f3063dc
"Unit test bustage fix from bug 709088 - include devtools.debugger.log preference."
SeaMonkey: (at least)
is affected too.
***
Why is this preference added at application level only when its (2) consumer is in Toolkit?
Flags: in-testsuite+
Comment 13•13 years ago
|
||
This is being addressed in bug 734314.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•