Difference between revisions of "JSDT/Debug"

From Eclipsepedia

Jump to: navigation, search
(New page: {{JSDT-Debug}} The JSDT debug project brings a variety of JavaScript debugging support to the JSDT using a common UI and communicating using a common protocol - JavaScript Debug Interface...)
 
(Bundles)
 
(22 intermediate revisions by 2 users not shown)
Line 11: Line 11:
 
The entire JSDT debugger is comprised of several bundles:
 
The entire JSDT debugger is comprised of several bundles:
  
*'''org.eclipse.wst.jsdt.debug.core''' - contains the JSDI specification an debug model elements.
+
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.debug.core/?root=WebTools_Project org.eclipse.wst.jsdt.debug.core] - contains the JSDI specification and debug model elements.
*'''org.eclipse.wst.jsdt.debug.crossfire''' (incubation) - contains a Crossfire implementation of the debugger.
+
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/development/org.eclipse.wst.jsdt.debug.crossfire/?root=WebTools_Project org.eclipse.wst.jsdt.debug.crossfire] (incubation) - contains a Crossfire implementation of the debugger.
*'''org.eclipse.wst.jsdt.debug.rhino''' - contains a Rhino implementation of the debugger.
+
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/development/org.eclipse.wst.jsdt.debug.chrome/?root=WebTools_Project org.eclipse.wst.jsdt.debug.chrome] (incubation) - contains a Google Chrome implementation of the debugger.
*'''org.eclipse.wst.jsdt.debug.rhino.debugger''' - contains the Rhino debug hooks to connect to the Rhino interpreter.
+
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/development/org.eclipse.wst.jsdt.debug.node/?root=WebTools_Project org.eclipse.wst.jsdt.debug.node] (incubation) - contains a Node.js implementation of the debugger.
*'''org.eclipse.wst.jsdt.debug.ui''' - contains the shared UI presentation for the debugger implementations.
+
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/development/org.eclipse.wst.jsdt.debug.opera/?root=WebTools_Project org.eclipse.wst.jsdt.debug.opera] (incubation) - contains an Opera implementation of the debugger.
*'''org.eclipse.wst.jsdt.debug.core.tests''' - contains related test cases for the debug core.
+
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/development/org.eclipse.wst.jsdt.debug.ie.debugger/?root=WebTools_Project org.eclipse.wst.jsdt.debug.ie.debugger] (incubation) - contains a Internet Explorer implementation of the debugger.
*'''org.eclipse.wst.jsdt.debug.rhino.tests''' - contains Rhino specific tests.
+
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.debug.rhino/?root=WebTools_Project org.eclipse.wst.jsdt.debug.rhino] - contains a Rhino implementation of the debugger.
 +
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.debug.rhino.debugger/?root=WebTools_Project org.eclipse.wst.jsdt.debug.rhino.debugger] - contains the Rhino debug hooks to connect to the Rhino interpreter.
 +
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.debug.rhino.ui/?root=WebTools_Project org.eclipse.wst.jsdt.debug.rhino.ui] - contains Rhino-specific user interface bits
 +
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.debug.transport/?root=WebTools_Project org.eclipse.wst.jsdt.debug.transport] - remote communication bundle, providing socket and JSON level communication utilities
 +
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/plugins/org.eclipse.wst.jsdt.debug.ui/?root=WebTools_Project org.eclipse.wst.jsdt.debug.ui] - contains the shared UI presentation for the debugger implementations.
 +
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/tests/org.eclipse.wst.jsdt.debug.core.tests/?root=WebTools_Project org.eclipse.wst.jsdt.debug.core.tests] - contains related test cases for the debug core.
 +
*[http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.jsdt/tests/org.eclipse.wst.jsdt.debug.rhino.tests/?root=WebTools_Project org.eclipse.wst.jsdt.debug.rhino.tests] - contains Rhino specific tests.
 +
 
 +
All of the bundles required for development of the JSDT debugger can be acquired using the team project set file [[Media:Jsdt-debug.psf|here]].
  
 
== Planning ==  
 
== Planning ==  
 +
 +
JSDT Debug follows directly the project plan for JSDT.
  
 
== Development ==
 
== Development ==
==== Rhino Debug Wire Protocol ====
 
To provide support for the Rhino interpreter, we had to create both sides of the coin - the debugger and the client. To facilitate communication between the debugger and the client we created an adapted version of v8 (JSON-based) packet communication. The complete specification for the RDWP can be found here.
 
  
 
==== JavaScript Debug Interface (JSDI) ====
 
==== JavaScript Debug Interface (JSDI) ====
The JSDI is used to provide a common way for our models and UI to communicate with a variety of debugger back-ends - write one UI + model and provide additional debuggers.
 
  
== Testing ==
+
The JSDI is used to provide a common way for our models and UI to communicate with a variety of debugger back-ends - write one UI + model and provide additional debuggers. The complete specification for the [[/JavaScript_Debug_Interface|JSDI]] can be found [[/JavaScript_Debug_Interface|here]].
 +
 
 +
[[Category:JSDT]]

Latest revision as of 16:50, 31 March 2011

JSDT Debug
Website
Download
Community
Mailing ListForumsIRC
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse SourceProject Set File

The JSDT debug project brings a variety of JavaScript debugging support to the JSDT using a common UI and communicating using a common protocol - JavaScript Debug Interface (JSDI). The common interface for the debugger emulates that of the platform and JDT debugger to allow a smooth transition and ease of use for the JSDT debugger.

Currently we have debugging support for Rhino and an incubation version of Crossfire / Firebug support.

Contents

[edit] Bundles

The entire JSDT debugger is comprised of several bundles:

All of the bundles required for development of the JSDT debugger can be acquired using the team project set file here.

[edit] Planning

JSDT Debug follows directly the project plan for JSDT.

[edit] Development

[edit] JavaScript Debug Interface (JSDI)

The JSDI is used to provide a common way for our models and UI to communicate with a variety of debugger back-ends - write one UI + model and provide additional debuggers. The complete specification for the JSDI can be found here.