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

Bug 356866

Summary: provide the user with eclipse UI to "flush" edc cache
Product: [Tools] CDT Reporter: Kirk Beitz <kirk.beitz>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED WONTFIX QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 7.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Kirk Beitz CLA 2011-09-06 17:42:42 EDT
given the use of cache in edc to improve performance, there are times the cache gets stale and prevents the user from seeing correct data.

e.g. persistent NoFileCache sometimes prevents user from seeing files added after 1st attempt to view.

Modules.java accesses and builds a "noFileCache" in the EDCDebugger.getDefault().getCache() location.

The use case that causes a problem is 
1) import an executable whose source is from another machine (particularly from another drive on another machine)
2) attempt to access the source during a debug session (with breakpoints or stepping)
3) creating a directory and perhaps a SUBST drive on windows that recreates the original source location.

at this point, the no file cache may contain symbolics file of interest, and even though the file wasn't there the first time it was debugged, the user has made it available outside of edc, but edc's NoFileCache is preventing it from being seen.
Comment 1 Jonah Graham CLA 2019-12-30 18:40:02 EST
(this is part of a batch change)

The Eclipse CDT EDC (https://wiki.eclipse.org/CDT/cdt-debug-edc) is now obsolete and has not had any active development since 2011. Therefore the still open bugs are being marked as wontfix.

The git repo for the project still exists for posterity at https://git.eclipse.org/c/cdt/org.eclipse.cdt.edc.git/