Invokes any available debugging functionality. If no debugging functionality is available, this statement has no effect. This statement is very handy when trying to debug eval'ed code like the View definition in Openbravo 3.0. It seems the only way to have an entry point to the JavaScript program running in the browser. I've tested this statement in Internet Explorer 8, Firefox 4b10 and Chrome 9. And works when you have a debugger running. Note: In Firefox you need Firebug available for that page.
Read full article from Development tips: JavaScript debugger statement | Openbravo Blog
No comments:
Post a Comment