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

Bug 312483

Summary: [snapshots][debug view] EDC's snapshots buttons can be enabled for DSF-GDB
Product: [Tools] CDT Reporter: Marc Khouzam <marc.khouzam>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED FIXED QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: ed.swartz, ling.5.wang
Version: 7.0   
Target Milestone: 7.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot of emnabled snapshot buttons
marc.khouzam: iplog-
Screenshot with CDI none

Description Marc Khouzam CLA 2010-05-11 14:27:02 EDT
Created attachment 167997 [details]
Screenshot of emnabled snapshot buttons

I got this problem on M7 and on HEAD.

1- Start a new Eclipse and make sure the EDC snapshot buttons are not visible at all.

2- Launch a DSF-GDB debug session

3- got to the variable view (open it if needed)

4- click on a cell to select it

5- change the selection

=> The snaptshot buttons appear and are enabled.

This happens for any DSF view like Registers or Expressions.
Comment 1 Marc Khouzam CLA 2010-05-12 11:09:07 EDT
Created attachment 168165 [details]
Screenshot with CDI

Surprisingly, I can see this problem even when I only have a CDI launch.  I'm not sure how I made this happen, but you can see it in the screenshot.
Comment 2 Ken Ryall CLA 2010-05-14 11:55:18 EDT
These are now conditional on an EDC session.
Comment 3 Marc Khouzam CLA 2010-05-14 14:06:44 EDT
Nice.  Thanks!