Hi guys. I'm having some problems with the DOM giving me the error as "DOM Object Constructor can not be called as a function" only on Webkit browsers (Safari, Chrome, etc.)
The problem is that I'm at a loss with Google Chrome JavaScript debugger. I'm used to Opera's Dragonfly and Firefox' Firebug.
Unfortunately I can't use them (or do not know how to) for knowing where the error is being thrown.
So, can anyone tell me how do I inspect the JavaScript with Google Chrome so I can know where the error is thrown? Please note that the JS being analyzed is not on an external .js page, but on an actual .php
BTW, I used a try and catch statement to read the error. The thing is, that I have dozens of them on the code.
Question
Jose_49
Hi guys. I'm having some problems with the DOM giving me the error as "DOM Object Constructor can not be called as a function" only on Webkit browsers (Safari, Chrome, etc.)
The problem is that I'm at a loss with Google Chrome JavaScript debugger. I'm used to Opera's Dragonfly and Firefox' Firebug.
Unfortunately I can't use them (or do not know how to) for knowing where the error is being thrown.
So, can anyone tell me how do I inspect the JavaScript with Google Chrome so I can know where the error is thrown? Please note that the JS being analyzed is not on an external .js page, but on an actual .php
BTW, I used a try and catch statement to read the error. The thing is, that I have dozens of them on the code.
Thanks :p
Link to comment
https://www.neowin.net/forum/topic/1099521-how-do-i-stop-on-error-the-javascript-which-is-ran-in-google-chrome/Share on other sites
1 answer to this question
Recommended Posts