Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome dev tools console completely blank

The problem is not that my console.log is not printed in the console. The problem is that the console is initially blank. I need to switch the tabs back and forth to get it working. Steps to reproduce: 1. Open Google chrome 2. Open some page 3. Open the console with Ctrl+Shift+I or F12

I even reinstall the browser (I kept the settings, because I can't afford to delete everything). Of course I removed all the extensions and disabled all the plugins. Still the same thing. Is there any application cache which I could delete to fix the problem.

Here is a screenshot: enter image description here

P.S. The error which you see is actually from the current page. It is not from the console. Here is what I see when open dev tools inside dev tools:

Uncaught TypeError: Cannot call method 'statusBarResized' of undefined inspector.js:2181

And all this happen after the latest big update of the browser.

like image 413
Krasimir Avatar asked Jan 25 '14 09:01

Krasimir


People also ask

How do I fix dev tools?

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.


2 Answers

The suggestion of clearing localStorage either didn't work or only worked temporarily for me. As mentioned in some of the comments, the solution that worked for me was to:

  1. Open developer tools
  2. Open settings pane from top right (or F1)
  3. Click the 'Restore defaults and reload' button

I should also mention that I'm using Google Chrome 53.0.2754.0 canary (64-bit).

like image 139
Tim McClure Avatar answered Oct 22 '22 13:10

Tim McClure


Your preferences have probably become corrupted. If you can reproduce the bug, please open a ticket at http://crbug.com/new.

Reset the preferences to resolve the issue. These are saved in localStorage on chrome-devtools://devtools, so you need to open the devtools of the devtools (step 1-2 of https://stackoverflow.com/a/21149275/938089), and either:

  • Run localStorage.clear() (switch to the Console tab or press Esc to open a drawer)
  • OR Go to Resources, Local Storage and delete all items of the dev tools one by one.
like image 37
Rob W Avatar answered Oct 22 '22 13:10

Rob W