Closed
Bug 968086
Opened 11 years ago
Closed 11 years ago
Breakpoints are hit in the wrong line when the code is pretty-printed.
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 927158
People
(Reporter: vest.84, Assigned: fitzgen)
References
Details
Attachments
(1 file)
(deleted),
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release)
Build ID: 20140127194636
Steps to reproduce:
- take any minified code (e.g. I played with Ubuntu.com - yui-combined-min.js);
- turn on the pretty print;
- put the breakpoint in the de-minified code;
- refresh the page with Ctrl+F5
Actual results:
The debugger stops before the breakpoint, however local variables are displayed correctly.
The attached image shows the issue.
Expected results:
The debugger should be hit in the marked line exactly.
Comment 1•11 years ago
|
||
Nick, isn't this a duplicate of bug 927158?
Assignee | ||
Comment 2•11 years ago
|
||
(In reply to Panos Astithas [:past] from comment #1)
> Nick, isn't this a duplicate of bug 927158?
Possibly. That bug is most likely a bug with getting bad location info from spidermonkey, which might be the case here too. Would need to investigate and look at the generated source map to determine if it is a bad source map or bad location info from spidermonkey.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → nfitzgerald
Priority: -- → P2
Assignee | ||
Updated•11 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 3•11 years ago
|
||
Yup, this is a dupe.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•