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

Bug 319890

Summary: [memory] When nothing is selected in Debug view, memory browser still shows data.
Product: [Tools] CDT Reporter: Pawel Piech <pawel.1.piech>
Component: cdt-memoryAssignee: Pawel Piech <pawel.1.piech>
Status: RESOLVED FIXED QA Contact: Ted Williams <ted>
Severity: normal    
Priority: P3 Flags: pawel.1.piech: review? (ted)
Version: 7.0   
Target Milestone: 7.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:

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.