Community
Participate
Working Groups
Many IDEs provide the ability to drag variables from the locals and registers views to the watch view, as well as to drag text from the editor to the watch view. Come to think of it, I'm rather surprised that Eclipse doesn't provide this functionality already. I'm even more surprised that there aren't any enhancment requests for it that I could find. Has anybody asked for this functionality in the past?
Bug 127874 mentions drag and drop between all debug views. However, since this request is more specific, I will leave it open. Marking as assigned for future consideration.
Created attachment 65235 [details] Patch adding drag and drop to expression view (based on HEAD as of April 27,2007). The attached patch enables dragging of variables from variables and registers views into the expressions view. And dragging of text from anywhere into the expression view. The needed changes are actually pretty straight-forward and re-use the APIs from WatchAction. I know it's probably rather late for 3.3 for this kind of workflow change, but I figured it's still worth a try :-)
Created attachment 70882 [details] Updated patch as of June 11, 2007. This patch is combined with the patch for allowing alternative content providers for expression view from bug 184233. Hopefully they both can be addressed :-)
The drag and drop portion of the patch is reasonable, so this bug is being marked as a possible 3.4 candidate. The javadoc needs to be improved before applying. We also need to consider what other dragging/dropping functionality we may want to add to the debug views during 3.4 and what effect it might have on this patch. The patch for alternative content providers needs to be separated and dealt with separately in bug 184233.
One often requested feature in our debugger is to drag variables, expressions, and stack frames into the memory view, in order to create a new memory monitor at that location. Another useful feature may be to drag stack frames, variables, and expressions into the breakpoint view to create a breakpoints. Both would probably require some new APIs though.
*** Bug 29494 has been marked as a duplicate of this bug. ***
Created attachment 72193 [details] Updated patch Separated drag/drop component from patch. Fixed minor issues, added documentation, updated copyrights.
Applied updated patch. Marking as contributed. Pawel, please review the changes, including copyright updates.
Reopening to assign to Darin for verification.
Darin, please verify.
Fixed for 3.4 M1
Looks good to me. Thank You!
Verified.