Closed
Bug 1106896
Opened 9 years ago
Closed 9 years ago
Improve mozSettings debugging capabilities
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
Details
Attachments
(2 files)
57.21 KB,
patch
|
qdot
:
review+
bajaj
:
approval-mozilla-b2g34+
|
Details | Diff | Splinter Review |
57.73 KB,
patch
|
Details | Diff | Splinter Review |
We need: - debug and verbose level of logging - better memory reporting to easily see blockage and leaking
Assignee | ||
Comment 1•9 years ago
|
||
We break down the logging capabilities into two classes: debug and verbose. Verbose will help to track everything that happens, while debug should just report error cases. We also augment memory reports with values to help tracking potential issues like: queue blockage, leaking, etc.
Assignee | ||
Updated•9 years ago
|
Attachment #8531343 -
Flags: review?(kyle)
Updated•9 years ago
|
Attachment #8531343 -
Flags: review?(kyle) → review+
Assignee | ||
Comment 2•9 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=79a152fa4544
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 3•9 years ago
|
||
Should we possibly take this farther and attach stacks to each lock if a certain debug pref is on, so we can trace who is owning them?
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Kyle Machulis (OUT OCT 1-NOV 30) [:kmachulis] [:qdot] (USE NEEDINFO?) from comment #3) > Should we possibly take this farther and attach stacks to each lock if a > certain debug pref is on, so we can trace who is owning them? This is something I thought about, yes, but I was not sure about going down this road, given the amount of data this adds. Maybe we can do this in a follow up?
Comment 5•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9107df18cdd9
Keywords: checkin-needed
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9107df18cdd9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8531343 [details] [diff] [review] Improve debug and error reporting in mozSettings r=qdot NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): none User impact if declined: very hard to debug settings api lockup (bug 1105511) Testing completed: on device and with mulet Risk to taking this patch (and alternatives if risky): low String or UUID changes made by this patch: none
Attachment #8531343 -
Flags: approval-mozilla-b2g34?
Comment 9•9 years ago
|
||
Comment on attachment 8531343 [details] [diff] [review] Improve debug and error reporting in mozSettings r=qdot Discussed this with :fabice, although non-blocking, keeping in mind that there is no user impact and low risk here, helps a lot in debugging, hence approving this for uplift.
Attachment #8531343 -
Flags: approval-mozilla-b2g34? → approval-mozilla-b2g34+
Comment 10•9 years ago
|
||
Needs rebasing for b2g34 uplift.
status-b2g-v2.1:
--- → affected
status-b2g-v2.2:
--- → fixed
status-firefox35:
--- → wontfix
status-firefox36:
--- → wontfix
status-firefox37:
--- → fixed
Flags: needinfo?(lissyx+mozillians)
Keywords: branch-patch-needed
Assignee | ||
Comment 11•9 years ago
|
||
We break down the logging capabilities into two classes: debug and verbose. Verbose will help to track everything that happens, while debug should just report error cases. We also augment memory reports with values to help tracking potential issues like: queue blockage, leaking, etc.
Assignee | ||
Comment 12•9 years ago
|
||
Okay, I've already lost more than one hour trying to push this to v2.1 for a try: mercurial does not want to apply my diff even if I generate it from the proper revision ...
Flags: needinfo?(lissyx+mozillians) → needinfo?(ryanvm)
Assignee | ||
Comment 13•9 years ago
|
||
After much fighting, https://tbpl.mozilla.org/?tree=Try&rev=3136e8a8074f
Updated•9 years ago
|
Flags: needinfo?(ryanvm)
Assignee | ||
Comment 16•9 years ago
|
||
Damn, how is it possible nobody spotted this: Services is loaded after we make use of it :(. It's not always working.
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•