Closed Bug 664378 Opened 13 years ago Closed 13 years ago

document how to use the Web Console to debug addons

Categories

(Add-on SDK Graveyard :: Documentation, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: arky, Assigned: ochameau)

Details

User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:7.0a1) Gecko/20110613 Firefox/7.0a1
Build Identifier: 

Documentation need to debug addons with web console.



Reproducible: Always
Hmm, I'm not sure it's even possible to debug addons using the web console, in which case we wouldn't be able to provide documentation on it.

Alex: do you know?
Summary: Debugging With Web Console → document how to use the Web Console to debug addons
Whiteboard: [triage:followup]
Alex: can you take on the investigation of whether it's even possible to use the web console to debug addons at this point?  If the answer is yes, then we can pull in Will to do the actual documentation, and if the answer is no, then we'll have to close this bug wontfix.
Assignee: nobody → poirot.alex
Priority: -- → P3
Whiteboard: [triage:followup]
Target Milestone: --- → 1.1
I talked with devtools folks and Web console targets only message for a specific web document.
But there is clear goal in supporting a "browser/chrome console" that will benefit to Jetpack:
https://wiki.mozilla.org/DevTools/RoadmapJune2011

So we should wait for this new kind of console and then we would be able to have a better logging interface.
In the meantime, we may already send messages that are specific to one window, like content scripts targeting a web document.

Here is how to send such message:
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/scratchpad.js#234
Hmm, ok, in that case, it sounds like we can't document this, so resolving this bug wontfix.  I'm looking forward to that browser/chrome console work!
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.