Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error in Chrome DevTools

I have recently started to see a frequent error in Chrome Dev Tools when right clicking on an element for the purposes of selecting "Inspect Element" - instead of selecting the element on the "Elements" tab the error "Uncaught Error: Parameter 2 (message) is required." appears in the "Sources" tab for a virtual "extensions:: schemaUtils" script.

The error occurs in the function "validate" as per the screenshot below.

Screenshot of error in DevTools

This error seems to occur since installing the "OneTab" extension, and indeed goes away when I disable it. I have reported it to the extension author, so far without response. Unfortunately as work have seen fit to issue me with an underpowered machine, removing OneTab is not an option as memory otherwise runs in extremely short supply.

The issue is easy to replicate, within Stack Overflow itself click on the "StackExchange" icon top left, and then right click on one of the "Your Communities" items. The context menu does not open and the above error appears. This also affects the pop-out menus on the primary product I am working on.

This error only occurs in a single instance of Chrome, which happens to be my primary developer machine, and does not occur on Chrome Canary on the same computer, and with the same extension installed.

Chrome 37.0.2024.2m on a Windows 7 Professional, Service Pack 1, x64 laptop.

Do I have a corrupted copy of Chrome? Can other users replicate this error (with or without the OneTab extension)? Is there anything short of removing the extension permanently that I can do to restore essential "Inspect Element" functionality?

I have already tried resetting Chrome within the settings menu.

like image 642
pwdst Avatar asked Jun 18 '14 09:06

pwdst


1 Answers

The problem you're experiencing is that a breakpoint is triggered for (uncaught) errors.

To stop this from happening, open the Sources tab of the developer tools, and make sure that the circle with the two stripes in it is GREY, not blue. This circle means "Pause on exception" and is the right-most icon in the next picture.

like image 146
Rob W Avatar answered Sep 24 '22 17:09

Rob W