Chromebug

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Running Chromebug)
Line 18: Line 18:
   thunderbird.exe -chromebug
   thunderbird.exe -chromebug
etc.
etc.
 +
 +
For Firefox 4.0 you may want to add
 +
  -purgecaches
 +
to see changes in your extension code.
== Basics ==
== Basics ==

Revision as of 05:00, 4 March 2011

Contents

Introduction

Chromebug is the Firebug source adapted to work on the entire 'chrome' level of XUL. It looks like Firebug in a detached window with some extra stuff to deal with multiple windows. Chromebug is 100% XUL/HTML/CSS/Javascript and works only on XUL based applications.

Installation

Note that at least during this development period it is important that your version of Firebug be synchronized with your Chromebug version.

Running Chromebug

To start Chromebug then firefox use:

 firefox.exe -chromebug

To start Chromebug then thunderbird use:

 thunderbird.exe -chromebug

etc.

For Firefox 4.0 you may want to add

 -purgecaches

to see changes in your extension code.

Basics

The Console, HTML, CSS, Script, DOM tab row shows the data for the nsIDOMWindow selected by the "context" menu. So for example if you set the context to browser.xul, the HTML you see will be the HTML for firefox's window.

Most of the time you can just use the context menu to set the tabs to the content you want to explore.

Tools

Gijs Kruitbosch's Chrome list

This tool seems to be documented separately at this web site: http://www.gijsk.com/mozilla/chromelist/

Or you can use the inspect feature to select the context.

Personal tools