Is there any Javascript Debugging API? -


I want to write some debugging tools. The first of them will be small-like objects like Object Browser. But I need some APIs to remove the methods of objects, dumping locals and global variables and stacktraces.

It's okay if this webbrover is specific but please tell me which web browser has the documented API.

EDIT: I prefer a clean JavaScript API, but anything like a COM interface is fine until it is well documented and the sample code is.

Take a look at Firefox (JavaScript debugger) or firebug. Both are open sources and can give you details.

Another option is the Web Inspector of Chrome and Safari, Dragonfly for Opera, or the F12 Dev Tool for Internet Explorer.

They all can give you ideas about implementing your debugging tools.


Comments