Re: FF 3.5 and JS_GC Crashes

Glenn Boysko <[email protected]> Fri, 31 Jul 2009 11:46:32 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Organization http://groups.google.com
Message-ID <4a438a99-7b3a-4726-b093-0da53ed4f30e@k30g2000yqf.googlegroups.com>
For anyone interested, I was able to resolve the crashing problems
that we were seeing in our extension. We are using the
jsdIDebuggerService interface (and, in particular, objects exposed
from this interface that extend nsIEphemeral). We had not been
checking the isValid property before accessing methods of the object
(e.g., jsdIScript.callCount).

After adding these checks, we are now running without crashing.