New issue
Advanced search Search tips

Issue 805430 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Sep 26
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Sourcemaps crash and don't work until devtools is restarted

Reported by christia...@vincit.fi, Jan 24 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Steps to reproduce the problem:
1. Build your JavaScript and CSS and use sourcemaps
2. Keep devtools open & develop on a site (using hot reload, happens without too)
3. After the earth rotates a fraction of a degree, the sourcemaps stop working, and all I see is bundle.js:someuselesslinenumber. When this happens, React devtools (by Facebook) also stops working, and simply sits at "Looking for React" forever. 
4. Restarting devtools temporarily fixes the problem

What is the expected behavior?
That the devtools wouldn't crash 15 to 30 times in an hour. 

What went wrong?
The source maps stop working randomly, sometimes a hot reload triggers it, sometimes they work for a few seconds and then crash, sometimes there's no problems. 

Did this work before? No 

Chrome version: 60.0.3112.90  Channel: stable
OS Version: Arch Linux
Flash Version: 

Sourcemaps have always been buggy as hell. I don't think that they've ever worked without a hitch. I've had the sourcemap problem on Windows, OSX, and three different Linux distributions for many years. Different accounts, different sets of extensions, nothing in common to connect. 

The sourcemap crash isn't related to a spesific build tool either, I've used sass & stylus directly, through grunt & gulp, and the last two years I've used Rollup and Webpack to bundle JavaScript. 

Better screenshots: https://github.com/facebook/react-devtools/issues/965
 
Selection_357.png
19.5 KB View Download
Labels: Needs-Milestone

Comment 2 by l...@chromium.org, Jan 31 2018

Owner: kozy@chromium.org
Status: Assigned (was: Unconfirmed)
Thanks for the report.

kozy@, perhaps there might be a race.  Do you happen to have an umbrella bug for sourcemaps?
Status: WontFix (was: Assigned)
I developed react app for a while but I can not reproduce this bug. Since 60 we landed couple big source map improvements and I hope that DevTools work better in latest Google Chrome Canary.

If you are still experiencing this issue, please file another bug.
It would be nice if you can open DevTools on DevTools and copy paste errors from console if any are presented there.
To open DevTools on DevTools you can:
- undock DevTools,
- press Ctrl + Shift + I.

Sign in to add a comment