Closed
Bug 1027072
Opened 10 years ago
Closed 5 years ago
Debugger fails to discover scripts when they are added to body tag
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1503422
People
(Reporter: miker, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [polish-backlog])
Attachments
(1 file)
390 bytes,
application/zip
|
Details |
STR: 1. Open the attached Archive.zip and load scriptnotfound.html in your browser. 2. Open devtools The script is not discovered by the debugger.
Reporter | ||
Updated•10 years ago
|
Summary: Script missing when added to body tag → Debugger fails to discover scripts when they are added to body tag
Comment 1•10 years ago
|
||
I seem to recall that Debugger.Source would solve this issue as well. James, can you confirm/deny this?
Flags: needinfo?(jlong)
Comment 2•10 years ago
|
||
I'm not sure my Debugger.Source will fix this. Once you open the devtools, the source is always listed, regardless if you close them, reload, and open again. This seems to be connected with how we lazily start the devtools somehow. My script will fix all eval'ed scripts and make them show up, but this is just a normal script, so I don't see how anything will change. I have noticed this happened sometimes though, and I need to reload the page to get sources to show. Worth having a bug about it.
Flags: needinfo?(jlong)
Updated•9 years ago
|
Whiteboard: [polish-backlog]
Updated•9 years ago
|
Priority: -- → P2
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Blocks: dbg-sources
Priority: P2 → P3
Comment 3•5 years ago
|
||
I'd assume this is because the Source is GCed before the devtools is opened?
Comment 4•5 years ago
|
||
(In reply to Logan Smyth [:loganfsmyth] from comment #3)
I'd assume this is because the Source is GCed before the devtools is opened?
Yes, it is.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•