Every so often when I'm viewing a page in Chrome with Developer Tools open, and that page includes Underscore, Developer Tools will suddenly jump into debugger mode and pause at the same spot, line 1206 of underscore.js, which is the line starting "render" in this section:
try {
render = new Function(settings.variable || 'obj', '_', source);
} catch (e) {
e.source = source;
throw e;
}
I'm not asking the damn thing to debug, and I'm not adding a breakpoint at that spot. I've got this on several otherwise different pages. Has anybody else seen this phenomenon, and is there anything I can do to stop it?

Paused on a JavaScript breakpoint
This means that the script found the following statement:
debugger;
In this particular case, it looks like debugger; is somewhere in the string being passed to new Function (you'd need to look at the scope variables and find source's value to check that).
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