Bug 393165 - Remember the choice for "display as array"
Summary: Remember the choice for "display as array"
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: Next   Edit
Hardware: PC Windows Server 2008
: 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: 2012-10-30 12:00 EDT by Jesko Hüttenhain CLA
Modified: 2020-09-04 15:24 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesko Hüttenhain CLA 2012-10-30 12:00:16 EDT
In debug mode of Eclipse for C/C++, you can right-click on any watched expression that is a pointer and select "display as array". Then you're prompted for the array bounds and for the rest of this debug run, the watched expression is being displayed as an array according to these bounds. 

When you terminate the process and start debugging again, it remembers the watched expressions, but pointers that were previously displayed as arrays will now be mere pointers again and hence, you have to re-cast all pointers in each debug run. It would be nice if Eclipse would remember the "display as array" choices for watched expressions.