Opening big JavaScript files, such as minified files on Chrome Developer Tools, tab Sources, makes it freeze. On a project of mine, if I click on jquery-1.11.1.min.js
it hangs and I can't do anything other then close the tab. To make things even harder, Chrome remembers the last file opened on the Source tab, and remembers the last tab opened, so I have to open another website, fire up Developer Tools and change tabs in order to make it work on my project. I had to debug using Firefox instead of Chrome.
Open the dev console - F12 on Windows/Linux or option + ⌘ + J on macOS. Select the Sources tab in chrome inspector. In the web browser window, hover over the desired element to initiate the popover. Hit F8 on Windows/Linux (or fn + F8 on macOS) while the popover is showing.
Alt + Click to expand all child nodes - Chrome Developers.
Install Material Dev Tools extension from the Chrome store. Once the above extension is installed, again go to Settings. In settings under the Experiments tab, select Allow custom UI themes . Once it is enabled, now close and re-open the dev tools.
This is a known bug: Chromium Bug Tracker - Issue 593679 - [REGRESSION] DevTools: Big sources hang the Developer Tools, and it's currently fixed, but not available on regular/stable Google Chrome or Chromium.
The temporary solution is to use Chrome Canary.
For me blackboxing is not working also. Helps only:
Also I do not have this problem on Chrome Canary
Chrome remembers the last file opened on the Source tab
This is how I worked around that, and got my sources tab back:
previouslyViewedFiles
key under devtools://devtools
Update Sept 2020:
Just coming back to note that I tested Chrome stable 85.0.4183.121, and this is much improved! (I haven't tested in a while, so I'm not sure exactly when it improved. But there was some movement on the bug report in May.)
Sept 2019: Chrome 77 still has this problem.
Here's one way it happens:
Here's another way it happens:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With