• 0

How do I stop on error, the javascript which is ran in Google Chrome?


Question

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

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.