Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-debug-dev] Debug Work Items for 2.1 and Beyond


...
10. It would be nice if the Variables view could retain the expansion tree
for more than one stack frame, and if the expansion wasn't lost every time
you run.  This is a real annoyance with EGL as almost everything is a
structure, and you almost always have to expand a variable to see the
meaningful data.  I think Alan Boxall had made some suggestions for this
(e.g. each stack frame could store the expansion, and the Variables view
queries the stack frame for the expansion to use and saves the current
expansion when the stack frame is deselected).

...

The second part of this problem has now been addressed. When a stack frame is selected, the expanded state of the variables view is saved (in the variables view). When the variables view is asked to re-display the variables for a stack frame, any saved expansion state is applied/restored. The implementation is entirely in the variables view. For this to work, debug models must implement stack frame and variable equality, such that stack frames and variables on iterative thread suspensions are equal (as appropriate). Modifications have been made to the Java debug model for this to work with the Java debugger.

Associated bug: http://bugs.eclipse.org/bugs/show_bug.cgi?id=1582

Darin


Back to the top