[Project_owners] Extension Debuggin

Daniel Fournier zdev at noos.fr
Sat Mar 19 10:22:38 EST 2005


Roman Mironenko wrote:

> Hello everyone.  I am working on my first extension (I am testing it 
> in FireFox but eventually I would like to make sure it also runs in 
> the Mozilla browser too.)
>
> My question is this: how do you guys test your extensions?  I got 
> myself the JavaScript Debugger (Venkman) and that is good.  But what 
> about XULs?  Currently I test my extension by installing it and then 
> making some changes, rebuilding, reinstalling it.  This is a serious 
> impediment to my productivity here.  Even Javascript became impossible 
> to test by itself, once I started adding lines like this:
>
> var russkeyPrefs = 
> Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("russkey."); 
>
>
>
> Any suggestions to ease my suffering?
>
> Thank you.
>
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
>
>
Why don't you use JS Console extension to test you Javascript files, it 
has been spcifically developped for that case and it let you use the 
full Mozlib library which is included in the project?

<http://jsconsole.mozdev.org>

Daniel Fournier


More information about the Project_owners mailing list