Community
Participate
Working Groups
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.