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

Bug 326593

Summary: Provide hyperlink debugging
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: ASSIGNED --- QA Contact: Simon Kaegi <simon_kaegi>
Severity: enhancement    
Priority: P3 CC: cmjaun, curtis.windatt.public, thatnitind
Version: 3.3   
Target Milestone: Future   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
wip
none
wip2 none

Description Michael Rennie CLA 2010-09-29 16:22:56 EDT
code from HEAD

JDT debug has the coolest feature in the world: hyperlink debugging. 

We should also have this in JSDT debug.
Comment 1 Michael Rennie CLA 2010-10-01 11:06:04 EDT
Created attachment 180065 [details]
wip

This patch provides the hyperlink and detector, but there are some challenges:

1. Openable.codeSelect() never returns any IJavaScriptElements so I cannot resolve what code to step into

2. Asking the JavaScriptModel for IFunctions always returns nothing, so I can't find anything to even try and resolve.

I will play around with it some more.
Comment 2 Michael Rennie CLA 2010-10-01 15:41:20 EDT
Created attachment 180085 [details]
wip2

updated patch that includes step into selection and platform hooks for run to line. I still can't get the JavaScriptModel to give me any info about functions.