Bug 312518 - [expressions] Need for a visual indicator that an expression has been cast
Summary: [expressions] Need for a visual indicator that an expression has been cast
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 7.0   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 20:24 EDT by Marc Khouzam CLA
Modified: 2020-09-04 15:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Khouzam CLA 2010-05-11 20:24:41 EDT
CDI and DSF (GDB and EDC) support casting an expression and displaying an expression as an array.  When looking at a cast expression in the expressions or variables views, it is not very clear that we are dealing with such a casted expression.

We need some visual indicator that an expression is currently cast.  And it would be nice to know what the original type is.

CDI has a column called "Actual type" and another "Declared type".  This seems like a nice solution, but currently, it seems like only "Declared type" is used and is changed when an expression is cast.  DSF does not have this column though.

Maybe a simple solution would simply be to show two types in the Type column, something like "mytype (was: myDeclarationType)", or something of the sort.