Break On ...
From FirebugWiki
Revision as of 10:00, 6 April 2011 by Sebastianz (Talk | contribs)
The Break On ... feature is used for debugging purposes. When a Break On ... option is enabled, Firebug stops script execution immediately when the specified event occurs.
The different panels offer different Break On ... features:
| Term | Panel | Option | Description |
|---|---|---|---|
| Break On All Errors | Console Panel | | Stops JavaScript execution on all JavaScript errors |
| Break On Mutate | HTML Panel | | Stops JavaScript execution on any HTML mutation |
| Break On Attribute Change | HTML Panel | Node context menu->Break On Attribute Change | Stops JavaScript execution when changing an attribute of the specified HTML element |
| Break On Child Addition or Removal | HTML Panel | Node context menu->Break On Child Addition or Removal | Stops JavaScript execution when adding or removing a child of the specified HTML element |
| Break On Element Removal | HTML Panel | Node context menu->Break On Element Removal | Stops JavaScript execution when the specified HTML element is deleted |
| Break On Next | Script Panel | | Stops JavaScript execution on the next executed line |
| Break On Line | Script Panel | Click on Breakpoint Column | Stops JavaScript execution on the specified line; normal type of breakpoint; offers the possibility to define break conditions |
| Break On XHR | Net Panel | | Stops JavaScript execution on all XMLHttpRequests |
| Break On Specific XHR | Net Panel | Click on Breakpoint Column or Request context menu->Break On XHR | Stops JavaScript execution on a specific XMLHttpRequest |