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)

27 Branch
x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 927158

People

(Reporter: vest.84, Assigned: fitzgen)

References

Details

Attachments

(1 file)

Attached image Debugger.png (deleted) —
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.
Component: Untriaged → Developer Tools: Debugger
Nick, isn't this a duplicate of bug 927158?
(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: nobody → nfitzgerald
Priority: -- → P2
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Yup, this is a dupe.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: