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.
Difference between revisions of "JSDT/Debug/Using Crossfire Debugger"
(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) |
− | + | ||
− | + | ||
== Creating the Configuration == | == Creating the Configuration == | ||
− | + | 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
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
- Install Eclipse with JSDT Debug
- Install Firebug
- 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:
- 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.