Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336999

Summary: [Crossfire] update JSDT to use updated Crossfire breakpoints protocol
Product: [WebTools] JSDT Reporter: Grant Gayed <grant_gayed>
Component: DebugAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact: Michael Rennie <Michael_Rennie>
Severity: normal    
Priority: P3 CC: thatnitind
Version: unspecified   
Target Milestone: 3.3 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch
none
updated breakpoints patch none

Description Grant Gayed CLA 2011-02-11 14:14:28 EST
I'm doing some of this work and will attach a patch with it here in the coming days.
Comment 1 Grant Gayed CLA 2011-02-25 13:40:21 EST
Created attachment 189839 [details]
patch

Michael can you have a look at this patch?  It contains:

- the protocol changes for the setbreakpoint, clearbreakpoint and changebreakpoint requests

- additional changes in support of these, in particular:

  -> when a script's source is retrieved, a persistent property is now set on its file indicating the url it originally came from

  -> when a CFVirtualMachine is created all known JS breakpoints are now sent to the Crossfire server's global breakpoints table

  -> a Map of breakpoint->Crossfire handles is now maintained in CFVirtualMachine

    -> setting these handle values as an attribute on each breakpoint's IMarker would have been nicer, but doing so was triggering marker change notifications, so I fell back to creating the Map instead (maybe triggering the change notifications were fine?)

- NO protocol changes related to getbreakpoint or getbreakpoints as these are not yet being used

- a change completely unrelated to any of this, but too small to log a separate report for: the stepaction for stepping over should be "next", not "over"
Comment 2 Grant Gayed CLA 2011-03-04 10:39:45 EST
Created attachment 190397 [details]
updated breakpoints patch

This updated patch was made a few days ago, after various other JSDT changes were made that caused the original patch in this report no longer apply.
Comment 3 Grant Gayed CLA 2011-03-07 15:22:19 EST
fixed > 20110307