Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319890 - [memory] When nothing is selected in Debug view, memory browser still shows data.
Summary: [memory] When nothing is selected in Debug view, memory browser still shows d...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-memory (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.0.1   Edit
Assignee: Pawel Piech CLA
QA Contact: Ted Williams CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-14 14:02 EDT by Pawel Piech CLA
Modified: 2010-07-15 15:23 EDT (History)
0 users

See Also:
pawel.1.piech: review? (ted)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pawel Piech CLA 2010-07-14 14:02:33 EDT
The memory browser does not react to a null selection in active debug context.  This is because it seems to assume that active debug context will always be an instance of IAdaptable.
Comment 1 Pawel Piech CLA 2010-07-14 14:19:18 EDT
I committed the fix.  Ted please review.
Comment 2 CDT Genie CLA 2010-07-14 14:23:04 EDT
*** cdt cvs genie on behalf of ppiech ***
Bug 319890 - [memory] When nothing is selected in Debug view, memory browser still shows data

[*] MemoryBrowser.java 1.30 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.memorybrowser/src/org/eclipse/cdt/debug/ui/memory/memorybrowser/MemoryBrowser.java?root=Tools_Project&r1=1.29&r2=1.30
Comment 3 Pawel Piech CLA 2010-07-15 14:22:38 EDT
I also merged the fix to the cdt_7_0 branch.