Community
Participate
Working Groups
Created attachment 167674 [details] Fix I noticed that the new "cast to type" dsf feature would do a full view refresh() whenever an expression was casted. This seemed excessive, but removing it prevented to the view from showing the change. I tracked it down to a missing delta in VariableVMNode. This patch fixes the missing delta and removes the refresh() call.
Pawel, can you ok this fix before I commit?
Ed, can you confirm that removing the call to refresh() is ok?
Works for me in EDC.
Yes, this makes sense. Thanks Marc.
Committed to HEAD.
*** cdt cvs genie on behalf of mkhouzam *** Bug 312229: Missing delta generation was forcing us to refresh the expressions view needlessly. [*] DsfCastToTypeSupport.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/viewmodel/DsfCastToTypeSupport.java?root=Tools_Project&r1=1.2&r2=1.3 [*] VariableVMNode.java 1.18 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/variable/VariableVMNode.java?root=Tools_Project&r1=1.17&r2=1.18