Dom exception debugging with chrome developer tools in jquery

domexception, google-chrome-devtools, html, jquery

Solution

Thanks for Paul Greyson's answer.

Unfortunately, his answer is in a comments and not clear for people seeking the solution.

To make it clear here is the summary:

In the bottom status bar of Chrome developer tool, there is a icon looks like a 'Pause' button, which you can toggle how the chrome will pause on exceptions by clicking it.

Problem

I have been receiving a single dom exception all the time, when starting my debug session using chrome develper tools. This problem still persists, even with this small HTML test document: ``` <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script> </head> <body> </body> </html> ``` The exception code: 12 message: "SYNTAX_ERR: DOM Exception 12" The exception occurs in line 1904 : ``` try { b.call(c.documentElement, "[test!='']:sizzle") } catch (f) { e = !0 } ``` Any ideas? I am using chrome 19.0.1084.36

Original source