Which debugger for use with embedded spidermonkey (non-web)
"Colin Fraser" <[email protected]> Wed, 25 Feb 2009 10:33:41 -0000
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have been working with Spidermonkey, embedding it to make my application scriptable (to replace a legacy proprietary scripting language) and it is working well. However I've reached a point where I want to start debugging scripts and I'm not clear which direction to go. There seem to be various options (ie Firebug & Venkman) if I was debugging in a browser, but I need to debug *embedded* spidermonkey scripts and no browser is involved. Has anyone else solved this problem? What is the 'state of the art' in terms of spidermonkey debugging? Is it possible to use one of the browser debuggers in conjunction with an embedded spidermonkey engine? I know there are debug hooks in the spidermonkey API that would let me do it at a low level but I can't help feeling that someone else must have solved this problem before and I shouldn't need to reinvent the wheel ;) Any advice or pointers to more info welcome, Regards Colin Fraser