| Summary: | [memory] Pin Memory Monitor action not working | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Justin Kong <justinko> | ||||
| Component: | Debug | Assignee: | Pawel Piech <pawel.1.piech> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | Michael_Rennie, pawel.1.piech | ||||
| Version: | 3.6 | Flags: | Michael_Rennie:
review+
|
||||
| Target Milestone: | 3.8 M5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Justin Kong
Created attachment 171855 [details]
Proposed Fix
MemoryViewTreeModelContentProvider was not using the newest #updateNodes method signature from ModelContentProvider and as a result, its #updateNodes method was never being used. The fix updates the method signature and incorporates the bit mask.
As well, the if statement:
if (getPresentationContext() instanceof MemoryView)
would never return true, as the IPresentationContext is not an instance of MemoryView. Changed the method to reflect this.
The patch was somewhat out of date, but still correct in principal. Thank you for the contribution. Comment on attachment 171855 [details]
Proposed Fix
I forgot to update the author in the git commit, so I'm setting the iplog flag here.
|