Which debugger for use with embedded spidermonkey (non-web)

View: New views
1 Messages — Rating Filter:   Alert me  

Which debugger for use with embedded spidermonkey (non-web)

by Colin Fraser-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


_______________________________________________
dev-apps-js-debugger mailing list
dev-apps-js-debugger@...
https://lists.mozilla.org/listinfo/dev-apps-js-debugger