Script Panel Refactoring

From FirebugWiki

(Difference between revisions)
Jump to: navigation, search
(Not Ready in JSD2)
Line 4: Line 4:
* Adopt JSD2 (get rid of all JSD1 APIs)
* Adopt JSD2 (get rid of all JSD1 APIs)
* Support remote debugging
* Support remote debugging
 +
 +
== Resources ==
 +
* [https://wiki.mozilla.org/Debugger Debugger]
 +
* [https://wiki.mozilla.org/Debugger_Client_API Debugger Client API]
 +
* [https://developer.mozilla.org/en/SpiderMonkey/JS_Debugger_API_Guide JS Debugger API Guide]
 +
* [https://developer.mozilla.org/en/SpiderMonkey/JS_Debugger_API_Reference JS Debugger API Reference]
 +
* [https://wiki.mozilla.org/DevTools/Features/Debugger DevTools Debugger]
 +
* [https://wiki.mozilla.org/Remote_Debugging_Protocol Remote Debugging Protocol]
 +
 +
== Related Issues ==
 +
*  Issue [http://code.google.com/p/fbug/issues/detail?id=5421 5421]: Implement JSD2
== JSD2 API Requirements ==
== JSD2 API Requirements ==
Line 35: Line 46:
TBD
TBD
-
 
-
== Resources ==
 
-
* [https://wiki.mozilla.org/Debugger Debugger]
 
-
* [https://wiki.mozilla.org/Debugger_Client_API Debugger Client API]
 
-
* [https://developer.mozilla.org/en/SpiderMonkey/JS_Debugger_API_Guide JS Debugger API Guide]
 
-
* [https://developer.mozilla.org/en/SpiderMonkey/JS_Debugger_API_Reference JS Debugger API Reference]
 
-
* [https://wiki.mozilla.org/DevTools/Features/Debugger DevTools Debugger]
 
-
* [https://wiki.mozilla.org/Remote_Debugging_Protocol Remote Debugging Protocol]
 

Revision as of 14:35, 14 August 2012

This page summarizes refactoring the Firebug debugger to use JSD2 and adding support for remote JavaScript debugging. Issue 5421 tracks the actual changes done.

Contents

Goals

  • Adopt JSD2 (get rid of all JSD1 APIs)
  • Support remote debugging

Resources

Related Issues

  • Issue 5421: Implement JSD2

JSD2 API Requirements

The following list summarizes the high-level features that Firebug needs to support. It should be verified that all the features can re-implemented on top of JSD2 before starting the refactoring.

Not Ready in JSD2

  • There is not source for evals.
  • new Function scripts?
  • Meta bug: Implement a script Debugger
    • As soon as this one is fixed
    • Profiling is unrelated to JSD2. What is the plan here?
    • Tracking (break on) throw/catch/error; also what is the plan?
  • Conditional breakpoints (bug 740825)

Script Panel Architecture

The Script panel needs to be built on top of JSD2, remote protocol and Firebug remote architecture. Remoting is already supported by HTTP Monitor and both components should share the same approaches and API.

TBD

Personal tools