Chromebug

From FirebugWiki

(Redirected from Chromebug User Guide)
Jump to: navigation, search

Contents

[edit] 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.

[edit] Installation

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

[edit] 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.

[edit] 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.

[edit] Tools

[edit] 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