Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312518

Summary: [expressions] Need for a visual indicator that an expression has been cast
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debugAssignee: cdt-debug-inbox <cdt-debug-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: enhancement    
Priority: P3 CC: aegges, pawel.1.piech
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

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.