Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "JSDT/Debug/Using Crossfire Debugger"

< JSDT‎ | Debug
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{warning|Experimental Code|The Crossfire debugger is in a experimental/propotype stage.  The code is brittle and many use cases are not supported.}}
 +
 
== Overview ==
 
== Overview ==
 +
 +
The Crossfire debugger is an experiment to see if the JSDT debugger apis can be hooked up to another debugger that was not co-developed with JSDI in mind.  Crossfire is an extension to Mozilla's Firebug that supports JavaScript debugging on mobile devices and browsers. 
  
 
== Installing Components ==
 
== Installing Components ==
Line 5: Line 9:
 
# [http://build.eclipse.org/webtools/committers/ Install Eclipse with JSDT Debug]
 
# [http://build.eclipse.org/webtools/committers/ Install Eclipse with JSDT Debug]
 
# [http://getfirebug.com/ Install Firebug]
 
# [http://getfirebug.com/ Install Firebug]
# [http://getfirebug.com/wiki/index.php/Getting_started_with_Crossfire Install Crossfire]
+
# [http://getfirebug.com/wiki/index.php/Getting_started_with_Crossfire Install Crossfire] - the latest version of crossfire (0.2a5 at the time of this writing)
## For now, you must install a 0.1 version of crossfire
+
# Now fix the code using the patch on {{Bug|312844}}
+
  
 
== Creating the Configuration ==
 
== Creating the Configuration ==
  
== Linking to a Running Script ==
+
Once everything is installed and ready to go simply:
 +
# open the launch configuration dialog in debug mode
 +
# create a new JavaScript configuration
 +
# select one of the Crossfire launching connectors, fill in the fields as needed and press debug
 +
 
 +
If you chose the Crossfire attaching connector, and did not check the option to automatically launch the browser, you will have to ensure that FireFox is running
 +
and Crossfire is listening in server-mode.
  
 +
If, however, you chose the listening connector, you will now have to start your browser (or switch to it if it is already running) and connect back to Eclipse.
  
 
[[Category:JSDT]]
 
[[Category:JSDT]]

Latest revision as of 16:20, 20 July 2010

Warning2.png
Experimental Code
The Crossfire debugger is in a experimental/propotype stage. The code is brittle and many use cases are not supported.


Overview

The Crossfire debugger is an experiment to see if the JSDT debugger apis can be hooked up to another debugger that was not co-developed with JSDI in mind. Crossfire is an extension to Mozilla's Firebug that supports JavaScript debugging on mobile devices and browsers.

Installing Components

  1. Install Eclipse with JSDT Debug
  2. Install Firebug
  3. Install Crossfire - the latest version of crossfire (0.2a5 at the time of this writing)

Creating the Configuration

Once everything is installed and ready to go simply:

  1. open the launch configuration dialog in debug mode
  2. create a new JavaScript configuration
  3. select one of the Crossfire launching connectors, fill in the fields as needed and press debug

If you chose the Crossfire attaching connector, and did not check the option to automatically launch the browser, you will have to ensure that FireFox is running and Crossfire is listening in server-mode.

If, however, you chose the listening connector, you will now have to start your browser (or switch to it if it is already running) and connect back to Eclipse.

Back to the top