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

John J Barton <[email protected]> Mon, 21 Dec 2009 14:57:40 -0800
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
Colin Fraser wrote:
> "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.

You might be interested in
http://groups.google.com/group/webdebugprotocol
and in "Crossfire", a JSON based Web Debug protocol.

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

By now we have a lot of experience with jsDebuggerService, if you decide 
to use it.

jjb