I want to write some Debugging Tools. First of them would be a Smalltalk like object browser. But i need some API's to extract methods from objects, dumping local and global variables and the stacktrace.
It's okay if this is Webbrowser specific. But please tell me which Webbrowser has an documented API for this.
EDIT: I would prefer a pure Javascript API, but something like an COM interface is also fine as long as it is well documented and has sample code.