Bug 112630 - hyperlink debugging
Summary: hyperlink debugging
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 88293 174235
Blocks:
  Show dependency tree
 
Reported: 2005-10-14 10:23 EDT by John Arthorne CLA
Modified: 2007-03-15 03:25 EDT (History)
3 users (show)

See Also:


Attachments
feature (16.81 KB, patch)
2007-02-14 17:25 EST, 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 John Arthorne CLA 2005-10-14 10:23:07 EDT
I often use "Step into Selection" while debugging to quickly skip over a block
of code to get to the part I am interested in.  However, this still requires
several gestures - moving the mouse, double-click to select, then either two
more clicks to select the menu item or Ctrl+F5 to perform the step.  By
contrast, I can perform similar navigations through Java code by holding down
the Ctrl key, and single left-clicking on methods to jump into them.  

It would be really neat to be able to do this kind of hyperlink style navigation
to step into selection while debugging.  Maybe by holding down another function
key combination, hyperlink debugging could be activated. In this mode, clicking
at the beginning of a line would jump to that line, and clicking on a method
would jump into that method. Maybe clicking a variable would popup the variable
value (I know this already exists).  I think this would be highly intuitive, and
make navigation through code while debugging vastly simpler than it is now.
Comment 1 Darin Wright CLA 2005-10-25 15:59:14 EDT
CC'ing Dani for hint on how the debugger might be involved in text editor 
hyperlinking functions using modifier keys.
Comment 2 Dani Megert CLA 2005-11-07 13:33:56 EST
This is currently not configurable i.e. the editor defines what can be hyperlinked.
Comment 3 Darin Wright CLA 2005-11-22 09:20:21 EST
Deferred for future consideration. (I like the idea).
Comment 4 Eugene Kuleshov CLA 2006-08-28 11:25:17 EDT
Any plans to work on this in 3.3?
Comment 5 Darin Wright CLA 2007-02-14 11:15:55 EST
Re-opening for 3.3
Comment 6 Michael Rennie CLA 2007-02-14 17:25:13 EST
Created attachment 59017 [details]
feature

This patch provides the requested feature.

At this time though it will only work if the JDT default hyperlink support is turned off, as both directors fight over who gets to hyperlink the method.

This functionality also only works whent he debugger is active (same behavior as the menu command)

You can disable the JDT director on the General->Editors->Hyperlinking pref page.

Will file bug against UI for a resolution mechanism for conflicting hyperlinking directors.
Comment 7 John Arthorne CLA 2007-02-15 10:16:11 EST
Cool! Can't wait to give it a spin.
Comment 8 Michael Rennie CLA 2007-02-15 11:19:08 EST
released patch

see StepIntoSelectionHyperlinkDetector
Comment 9 Michael Rennie CLA 2007-02-15 11:19:39 EST
please verify Darin W
Comment 10 Darin Wright CLA 2007-02-20 14:42:32 EST
Verified.
Comment 11 Curtis Windatt CLA 2007-02-27 15:43:19 EST
Note that in recent builds (I20070220-1330), the step into selection action is now winning when both directors are enabled.
Comment 12 John Arthorne CLA 2007-03-14 17:30:18 EDT
How do I turn this on? I can't make it work in I20070313.
Comment 13 Dani Megert CLA 2007-03-15 03:25:41 EDT
The final solution where Debug assigns its own key modifier has been put in after the I-build. However, even with the I-build you can go an configure it manually on the General > Editors > Text Editors > Hyperlinking preference page.