Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome dev tools pauses on exceptions in blackboxed script

Tags:

I have a JavaScript file that I have blackboxed in the Chrome developer tools and I have the debugger set to pause on uncaught exceptions. However, the dev tools continues to pause on uncaught exceptions in the blackboxed JS file (see screenshot below). Is this a Chrome bug? Or is there an additional step required to make Chrome stop pausing on uncaught exceptions in blackboxed scripts?

enter image description here

According to https://developer.chrome.com/devtools/docs/blackboxing :

What happens when you blackbox a script?

Exceptions thrown from library code will not pause (if Pause on exceptions is enabled)

So this seems either like a bug, or I'm overlooking something obvious.

like image 294
jake Avatar asked Sep 14 '15 23:09

jake


1 Answers

This issue is sadly not resolved as of 70.0.3538.77. Filed this Chromium issue. The fun part? Dev Tools itself says it shouldn't stop on exceptions from blackboxed scripts - while being stopped in a blackboxed script 😂

Dev Tools clearly describing it shouldn't be where it actually is at the moment

like image 186
Robert Monfera Avatar answered Oct 13 '22 03:10

Robert Monfera