Bug 137681 - [variables] New feature: Register Details View
Summary: [variables] New feature: Register Details View
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-04-20 06:14 EDT by John Cortell CLA
Modified: 2007-06-01 14:38 EDT (History)
1 user (show)

See Also:


Attachments
CodeWarrior register details view (20.27 KB, image/png)
2006-04-20 12:59 EDT, John Cortell CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Cortell CLA 2006-04-20 06:14:04 EDT
This feature will allow users to view and modify register values in a user-friendly and GUI-rich way. The view will feed off of register descriptions that provide a verbose explanation of a register and how, if applicable, its bits are functionally grouped. The user will be able to modify the registers as functional groups or by toggling individual bit "buttons".

The feature should be designed to allow an arbitrary feed mechanism to be plugged in. This will allow vendors with proprietary register descriptions to use/enable this view in their product, and allow for the implementation of a standardized SPIRIT based feed (which would hopefully be contributed to the Eclipse community).
  
No specific GUI proposal is provided here, but one can imagine what such a view would look like. This bugzilla report is mostly here to formalize the desire for this feature, and to act as a repository for design/implementation discussions.
Comment 1 Nobody - feel free to take it CLA 2006-04-20 11:36:43 EDT
John, are you thinking of it as an improvement of the detail pane of the existing registers view? If so, it looks like providing a support for the target-dependent logical structures.
Comment 2 John Cortell CLA 2006-04-20 12:59:03 EDT
Mikhail, unless I'm thinking of something else, the detail pane in the register view is extremely basic in that it provides the user a simple additional string-based representation of a register. Would you say that's an accurate description?

What I'm talking about in this feature report is a very GUI-rich way to both view and manipulate a register. Yes, that GUI feeds off of target-specific information, but the view itself would be very target neutral. As I mentioned in the bug report, the view would have a flexible "plugin" mechanism to allow different vendors to provide the view the necessary information from their proprietary descriptions. But again, the viewer would have no built in target information.

I've attached a screenshot of our commercial product's register detail window in action.
Comment 3 John Cortell CLA 2006-04-20 12:59:38 EDT
Created attachment 39067 [details]
CodeWarrior register details view
Comment 4 Nobody - feel free to take it CLA 2006-04-20 14:49:23 EDT
Yes, currently the detail pane is a textual field that allows modificatons. But clients can contribute so called logical presentation to it. For example, you can contribute a logical structure to present a register as a bit set.
But of course the graphical presentation is much more convenient. The current  implementation of the detail pane is based on the SourceViewer class and it could be replaced by something more generic. In this case more sophisticated UI could be plugged in. The simple solution is to use TableViewer or TreeViewer instead of SourceViewer, but your example looks much better.
Comment 5 Darin Wright CLA 2006-04-28 11:53:01 EDT
Post 3.2
Comment 6 Nobody - feel free to take it CLA 2006-05-12 15:29:33 EDT
https://bugs.eclipse.org/bugs/show_bug.cgi?id=75852 (Support for custom details view widgets) could be very useful for this feature.
Comment 7 Darin Wright CLA 2007-06-01 14:38:17 EDT
3.3 now supports custom detail panes. Currently, we have no plans to implement this feature, but contributions are welcome.
Comment 8 Darin Wright CLA 2007-06-01 14:38:47 EDT
marking as won't fix, but help still wanted :-)