I was not aware of chromebug until recently. Chromebug has a better UI to debug Firefox plugins. To install and use chromebug, you need the following steps
1) Install Firebug
2) Install Chromebug with the same version of Firebug, for example, chromebug-1.7.0a7.xpi. Chromebug can be found here:
http://getfirebug.com/releases/chromebug/
3) Restart Firefox with the additional "-chromebug"
For example, in Mac OS X, I use the following command
/Applications/Firefox.app/Contents/MacOS/firefox-bin -chromebug
4) Open the firefox plugin that you want debug
5) Go to the File menu in Chromebug and select JavaScript files from your plugin and set breakpoints.
6) Run the plugin and debug the plugin when it stops at breakpoints.
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment