New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 761263 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Clicking on source code line in DevTools and it will sets breakpoint on wrong line when using sourcemap

Reported by mar...@carlberg.org, Sep 1 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8

Steps to reproduce the problem:
1. Open http://mini.carlberg.org/dev/SourceMapTestApp in Chrome
2. Open DevTools
3. Create breakpoint by clicking on line before whitespace line in SourceMapTest.j file
4. Breakpoint will be set on wrong row

What is the expected behavior?
Breakpoint should be set on correct line

What went wrong?
Breakpoint was set on wrong row

Did this work before? N/A 

Chrome version: Version 62.0.3201.0  Channel: canary
OS Version: OS X 10.12.6
Flash Version: Shockwave Flash 26.0 r0

SourceMap visualization can be checked at http://mini.carlberg.org/source-map-visualization/#objective-j

This is working in Safari and Firefox

Please watch attached screencast of the problem.

http://mini.carlberg.org/dev/SourceMapTest.mov
http://mini.carlberg.org/dev/SourceMapTest.j
http://mini.carlberg.org/dev/SourceMapTest.js
http://mini.carlberg.org/dev/SourceMapTest.map
 
SourceMapTest.j
427 bytes Download
SourceMap.js
1.6 KB View Download
SourceMapTest.mov
4.8 MB Download
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
Just want to add that this does not work on any version of Chrome that I have tested, stable or canary.
Status: Fixed (was: Assigned)

Comment 5 by mar...@carlberg.org, Oct 16 2017

I have tested this with Chrome 64.0.3241.0 and it is fixed. Thanks!

Sign in to add a comment