Closed
Bug 1026547
Opened 11 years ago
Closed 11 years ago
Show chrome source on about: pages in the debugger
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1085446
People
(Reporter: glind, Unassigned)
Details
(Whiteboard: [chrome-debug])
Use case: debugging `about:newtab`.
Reproduce:
- Aurora 32
- `about:newtab`
- open debugger
Expected: debugger should see: http://mxr.mozilla.org/mozilla-central/source/browser/base/content/newtab/newTab.js as a source.
Observed: Debugger states: "no sources". Inspector has access to objects in the page from that script, including `gSearch`.
Suggested previous solution of "use the browser debugger" doesn't seem to work for this. The browser debugger debugs `browser.xul`.
Comment 1•11 years ago
|
||
If you reload, does the source show up? If so, this is a duplicate of bug 944258.
| Reporter | ||
Comment 2•11 years ago
|
||
No. "waiting for sources" briefly displays, then "This page has no sources". I think it's pretty reproducible, if you want to try it.
Comment 4•11 years ago
|
||
In my opinion all scripts included by about: pages should be available in the debugger if an about: page is loaded.
Comment 5•11 years ago
|
||
The reason debugging about: pages doesn't work (see _allowSource in script.js) is that the debugger would end up running with debuggee frames on the stack. Since Shu recently made that a workable situation, maybe we could now revisit this.
That said, I can debug newTab.js using browser debugger just fine. For example I can set a breakpoint in Page_init() that gets triggered when I hide/show the thumbnails.
Updated•11 years ago
|
Summary: enh: show chrome source on about: pages → Show chrome source on about: pages in the debugger
Comment 6•11 years ago
|
||
Bug 1085446 fixes this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•