Compare Revisions

Debugger

Revision 364555:

Revision 364555 by gsvelto on

Revision 438405:

Revision 438405 by Luke314 on

Title:
Debugger
Debugger
Slug:
Tools/Debugger
Tools/Debugger
Tags:
"Tools","Debugging","Debugger","Firefox OS","Dev Tools"
"Tools","Debugging","Debugger","Firefox OS","Dev Tools"
Content:

Revision 364555
Revision 438405
tt351    <h2>
352      Extending Debugger from Addons
353    </h2>
354    <p>
355      The following items are accessible in the context of chrome
 >://browser/content/debugger.xul (or, in version 23 beta, chrome:/
 >/browser/content/devtools/debugger.xul):
356    </p>
357    <h3>
358      Events:
359    </h3>
360    <ul>
361      <li>window.addEventListener("Debugger:EditorLoaded") - call
 >ed when the read-only script panel loaded.
362      </li>
363      <li>window.addEventListener("Debugger:EditorUnloaded")
364      </li>
365    </ul>
366    <h4>
367      Relevant files:
368    </h4>
369    <ul>
370      <li>chrome://browser/content/devtools/debugger-controller.j
 >s
371      </li>
372      <li>chrome://browser/content/devtools/debugger-toolbar.js
373      </li>
374      <li>chrome://browser/content/devtools/debugger-view.js
375      </li>
376      <li>chrome://browser/content/devtools/debugger-panes.js
377      </li>
378    </ul>
379    <p>
380      Unfortunately there is not yet any API to evaluate watches/
 >expressions within the debugged scope, or highlight elements on t
 >he page that are referenced as variables in the debugged scope. (
 >currently a work in progress, see bug <a href="https://bugzilla.m
 >ozilla.org/show_bug.cgi?id=653545" title="https://bugzilla.mozill
 >a.org/show_bug.cgi?id=653545">653545</a>.)
381    </p>

Back to History