Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome DevTools broken - Stetho unusable

Stetho and Google Chrome DevTools have become unusable after a macOS update (I doubt that macOS update is the origin of this bug, but I prefer to mention it).

Here is the appearance of DevTools after the open of "inspect mode" on a device (provided by Facebook Stetho library for Android & OKHttp).

DevTools window

There are no longer "CSS" stylesheets on the page and fonts have changed. Many tab pages aren't displayed (i.e. Network Requests), I only have access to some error messages :

There were 84 bytes that were not consumed while processing request 4
There were 84 bytes that were not consumed while processing request 5
There were 84 bytes that were not consumed while processing request 6
Failed to clear temp storage: undefined

I followed instructions on this issue : Failed to clear temp storage and this one : Failed to clear temp storage: SecurityError in Chrome but I haven't been able to fix the problem.

Here is what I tried :

  • Uninstall and reinstall Chrome with AppCleaner
  • Remove chrome cache from disk
  • Remove chrome profiles from ~/Library/Application\ Support/Google/Chrome
  • Create and use a new Chrome profile
  • Try to connect on Firefox distant debug (unfonctionnal)
  • Restart system

Have any of you ever encountered this problem ? Thanks !

like image 353
Kilian P. Avatar asked Mar 03 '21 17:03

Kilian P.


People also ask

How do I fix dev tools in Chrome?

# Open the Issues tab Open DevTools. Click the Go to Issues button in the yellow warning bar. Alternatively, select Issues from the More tools menu. Once you're on the Issues tab, click the Reload page button if necessary.

How do I force DevTools to open?

To open the developer console window on Chrome, use the keyboard shortcut Ctrl Shift J (on Windows) or Ctrl Option J (on Mac). Alternatively, you can use the Chrome menu in the browser window, select the option "More Tools," and then select "Developer Tools."


Video Answer


2 Answers

You should downgrade Chrome. Problem with the latest Chrome/Chromium release https://github.com/facebook/stetho/issues/696

like image 161
Warrocker Avatar answered Oct 24 '22 03:10

Warrocker


As a workaround you can use other browser based on Chromium, for example:

  • Microsoft Edge https://www.microsoft.com/edge

  • Brave https://brave.com/

where you can also use chrome://inspect/#devices address to check your database content.

The biggest disadvantage at this moment is that you cannot view the shared preferences (which was possible on Chromium 88)

like image 44
Boken Avatar answered Oct 24 '22 04:10

Boken