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

Issue 640295 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 392774
Owner:
Last visit > 30 days ago
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Debugger steps over statements in generated (hidden) code, rather than (visible) mapped source code.

Reported by paul.cut...@import.io, Aug 23 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:47.0) Gecko/20100101 Firefox/47.0

Steps to reproduce the problem:
1. Create a source map file where a single statement in the source maps to multiple statements in the executed code.
2. In the debugger, navigate to the original source code.
3. Use "step over" to step through the code.

Alternatively, check out the example I prepared here: http://paulcuth.me.uk/starlight/source-map-step-issue/

What is the expected behavior?
The execution pauses on each statement in the displayed source code.

What went wrong?
The execution pauses on a statement and doesn't move on until many clicks of "step over" later.

Did this work before? N/A 

Chrome version: 52.0.2743.116 (Official Build) (64-bit)  Channel: n/a
OS Version: OS X 10.10
Flash Version: 

I believe that the execution is pausing on each statement in the generated file (which is not visible), rather than the source code which is displayed to the user.

FWIW, Firefox behaves in the expected manner.
 

Comment 1 by ajha@chromium.org, Aug 25 2016

Cc: ajha@chromium.org
Labels: M-54 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on the latest stable(52.0.2743.116) and the latest canary(54.0.2838.0/2) on Windows-10, Mac OS 10.11.6 and Linux Ubuntu 14.04.

This is non-regressed behavior as on older build(30.0.1549.0 / 35.0.1849.0/ 40.0.2172.0) 'step over' is not getting enabled following above steps at step 3. This works the same on chrome version: 48.0.2544.0 as tested on Mac OS 10.11.6.

 
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Untriaged)
Mergedinto: 392774
Status: Duplicate (was: Assigned)

Sign in to add a comment