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

Issue 664343 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Chrome Debugger - variable names completely messed up

Reported by amirmohs...@gmail.com, Nov 11 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
Go to the sources tab on a piece of compiled code (in my case using Babel and Webpack) that has source maps, put a breakpoint on a line and look at the variables in the scopes section.

What is the expected behavior?
The names of the variables were always wrong in the sense that they followed the real names in the source code instead of the source maps. However, recently, they seem to have gotten totally screwed up.

What went wrong?
As you can see in my screenshot of the dev tools, the name of all variables in one of the scopes is "Text". This is very strange and it happens in every file. It's not always "Text" though. In every file, a random name is picked and used by the debugger for loads of different variables within that file while debugging it.

This doesn't seem to be an issue in Chrome 56.0.2915.0 canary (64-bit), but it is on the latest stable build.

Did this work before? Yes 

Chrome version: 54.0.2840.99  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0
 
chrome-debugger-variables-wrong-name.jpg
47.2 KB View Download
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
Status: Archived (was: Assigned)
I tried to reproduce it with Babel and seems like it works. Some CLs were landed between 54 and 56 to fix name resolving in source mapped files.
Feel free to reopen it if it's still an issue.

Sign in to add a comment