Sunday, June 24, 2012

Javascript : Debugging Object

Debugging JavaScript with firebug and other available tools is pretty easy. But without it this may seem little complex. But while checking out for solution I really found very helpful function at breakingpar.com.

The solution they provided was really great to know what the object is containing. function dumpProps uses confirm prompts for debugging inner objects or main objects with our requirement.

Once we found what we want we can just click cancel for coming out the loop or keep continuing debugging.

No comments:

Post a Comment