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

"Colin Fraser" <[email protected]> Mon, 21 Dec 2009 15:51:54 -0000
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
"Colin Fraser"  wrote in message
> 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?

As I've received a couple of follow up emails on this I thought I'd post 
back to the group for future reference:



I never came up with an elegant off the shelf solution, but I have something 
that basically works based on this open source project:



http://code.google.com/p/piston/



Piston uses the lowest level debug hooks (jsdbgapi), however I now wonder if 
JSD might have been an easier starting place.  I avoided it as I thought it 
was no longer supported but there still seems to be some work done 
maintaining it for use by Firebug and it is a bit higher level.



Regardless which option you choose, neither seem to be well documented so it 
is not easy to get started!



Colin