Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330342 - Memory Browser does not work when memory block retrieval does not implement IAdaptable
Summary: Memory Browser does not work when memory block retrieval does not implement I...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-memory (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 7.0.2   Edit
Assignee: Anton Leherbauer CLA
QA Contact: Ted Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 07:38 EST by Anton Leherbauer CLA
Modified: 2010-11-16 08:23 EST (History)
1 user (show)

See Also:


Attachments
Fix (2.42 KB, patch)
2010-11-16 07:56 EST, Anton Leherbauer CLA
aleherb+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Leherbauer CLA 2010-11-16 07:38:38 EST
In MemoryBrowser.createMemoryBlock() the retrieval object needs to be IAdaptable to IMemoryBlockRetrievalExtension which is inconsistent with the Memory view.
It should test for instanceof first.
Comment 1 Anton Leherbauer CLA 2010-11-16 07:56:24 EST
Created attachment 183216 [details]
Fix
Comment 2 Anton Leherbauer CLA 2010-11-16 08:01:04 EST
Committed to HEAD and cdt_7_0.