Closed
Bug 863078
Opened 12 years ago
Closed 6 years ago
Wrong line highlighted in the source editor when paused on a debugger statement
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 771490
People
(Reporter: vporof, Unassigned)
References
(Depends on 1 open bug)
Details
STR:
1. Go to http://jsbin.com/upejic/4/edit
2. Open debugger
3. Click me
Highlighted line is "<!--[if gte IE 8 ]><body class="source ie"><![endif]-->".
Granted, this is quite an edge and tricky case since the code is generated (line 358 is where things start to look familiar), but it's a bit confusing pausing on line 13 instead.
Updated•12 years ago
|
Assignee: nobody → past
Priority: -- → P2
Comment 1•12 years ago
|
||
The problem stems from the fact that in this case the script that contains the debugger statement is inside an iframe, which SpiderMonkey happily reports with the same URL as the outer window. Debugger.Source can't come soon enough...
Updated•10 years ago
|
Depends on: dbg-source
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 3•6 years ago
|
||
closing as this is for the old debugger.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•