| Summary: | Breakpoints are not synch'ed from Firebug to Eclipse | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Leopoldo (Polo) Miranda <polomm> | ||||
| Component: | Debug | Assignee: | Michael Rennie <Michael_Rennie> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Michael Rennie <Michael_Rennie> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | itewksbu, thatnitind | ||||
| Version: | 3.2.5 | ||||||
| Target Milestone: | 3.4 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 375435, 375652, 375660, 375662, 375664 | ||||||
| Attachments: |
|
||||||
Created attachment 213111 [details]
patch
This patch provides all the hooks for Eclipse to respond to breakpoint toggling in Firebug.
Applied patch to HEAD |
1. Create a simple static web project, that contains the following: - A JS file/function that has five lines of code for example: console.log('Msg 1'); console.log('Msg 2'); console.log('Msg 3'); console.log('Msg 4'); console.log('Msg 5'); - An HTML that contains a button with onClick event to call the JS function above. 2. Deploy your web project in any web container. 3. Open the URL for the html page in Firefox (Firebug up and running and Crossfire already listening) 4. In Eclipse create a new Remote JavaScript configuration as follow: - In Connect tab, select "Crossfire - Remote Attach" and leave all defaults - In the Source tab, delete the Default "Source Lookup Path" and add your sample project (or workspace) instead. 5. Start to "Debug" 6. Go to Firebug, and select the script tab and set a break in the first console message. 7. Click in the button so then your JS breakpoint is reached. 8. Accept the Eclipse notification to go to debug mode (if not there already) 9. Go back to Firebug and set breakpoints to the following lines console.log('Msg 3'); console.log('Msg 4'); Current Result: Breakpoints from firebug are not synch'ed with Eclipse. Expected Result: As a users I want to have both, Eclipse and firebug fully synch'ed at any time. Firefox versions either 6 or 7 Firebug 1.8.3 Crossfire 0.3a9