Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326593 - Provide hyperlink debugging
Summary: Provide hyperlink debugging
Status: ASSIGNED
Alias: None
Product: JSDT
Classification: WebTools
Component: Debug (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: Future   Edit
Assignee: Michael Rennie CLA
QA Contact: Simon Kaegi CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 16:22 EDT by Michael Rennie CLA
Modified: 2012-03-01 14:05 EST (History)
3 users (show)

See Also:


Attachments
wip (12.98 KB, patch)
2010-10-01 11:06 EDT, Michael Rennie CLA
no flags Details | Diff
wip2 (47.24 KB, patch)
2010-10-01 15:41 EDT, Michael Rennie CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.