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

Bug 312229

Summary: [expression view][delta] Missing delta for expressions
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debug-dsfAssignee: Marc Khouzam <marc.khouzam>
Status: RESOLVED FIXED QA Contact: Pawel Piech <pawel.1.piech>
Severity: normal    
Priority: P3 CC: ed.swartz, pawel.1.piech
Version: 6.0Flags: pawel.1.piech: review+
ed.swartz: review+
Target Milestone: 7.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Fix marc.khouzam: iplog-

Description Marc Khouzam CLA 2010-05-10 05:49:00 EDT
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.
Comment 1 Marc Khouzam CLA 2010-05-10 05:50:25 EDT
Pawel, can you ok this fix before I commit?
Comment 2 Marc Khouzam CLA 2010-05-10 05:51:09 EDT
Ed, can you confirm that removing the call to refresh() is ok?
Comment 3 Ed Swartz CLA 2010-05-10 08:12:47 EDT
Works for me in EDC.
Comment 4 Pawel Piech CLA 2010-05-10 16:12:38 EDT
Yes, this makes sense.  Thanks Marc.
Comment 5 Marc Khouzam CLA 2010-05-10 16:16:20 EDT
Committed to HEAD.