Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314557 - [var][memory]No error dialog when problems occur opening a memory monitor on a variable
Summary: [var][memory]No error dialog when problems occur opening a memory monitor on ...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 7.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 7.0   Edit
Assignee: Ken Ryall CLA
QA Contact: Pawel Piech CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 15:29 EDT by Ken Ryall CLA
Modified: 2010-05-28 13:32 EDT (History)
2 users (show)

See Also:
ken.ryall: review? (pawel.1.piech)


Attachments
fix (2.50 KB, patch)
2010-05-26 15:37 EDT, Ken Ryall CLA
ken.ryall: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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