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

Bug 314557

Summary: [var][memory]No error dialog when problems occur opening a memory monitor on a variable
Product: [Tools] CDT Reporter: Ken Ryall <ken.ryall>
Component: cdt-debug-dsfAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED FIXED QA Contact: Pawel Piech <pawel.1.piech>
Severity: normal    
Priority: P3 CC: john.cortell, pawel.1.piech
Version: 7.0Flags: ken.ryall: review? (pawel.1.piech)
Target Milestone: 7.0   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix ken.ryall: iplog-

Description Ken Ryall CLA 2010-05-26 15:29:10 EDT
If you create a new memory monitor for an address and any errors occur you get an error dialog. If you open a monitor using the View Memory command on a variable and have a problem the error is lost and the operation fails silently.
Comment 1 John Cortell CLA 2010-05-26 15:31:51 EDT
Teo contributed a patch which shows a red 'x' decorator next to the expression field. Are you not seeing that?
Comment 2 Ken Ryall CLA 2010-05-26 15:36:02 EDT
(In reply to comment #1)
> Teo contributed a patch which shows a red 'x' decorator next to the expression
> field. Are you not seeing that?

No, this is in the Memory View. I don't see an expression field.
Comment 3 Ken Ryall CLA 2010-05-26 15:37:00 EDT
Created attachment 170082 [details]
fix

Proposed fix
Comment 4 Ken Ryall CLA 2010-05-26 18:26:24 EDT
Committed to HEAD for 7.0
Comment 5 John Cortell CLA 2010-05-26 18:28:39 EDT
(In reply to comment #2)
> (In reply to comment #1)
> > Teo contributed a patch which shows a red 'x' decorator next to the expression
> > field. Are you not seeing that?
> 
> No, this is in the Memory View. I don't see an expression field.

Sorry. Misread the description.
Comment 6 CDT Genie CLA 2010-05-27 10:12:59 EDT
*** cdt cvs genie on behalf of kryall ***
Bug 314557 -  No error dialog when problems occur opening a memory monitor on a variable

[*] DsfViewMemoryHandler.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/viewmodel/actions/DsfViewMemoryHandler.java?root=Tools_Project&r1=1.1&r2=1.2