Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356866 - provide the user with eclipse UI to "flush" edc cache
Summary: provide the user with eclipse UI to "flush" edc cache
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 7.0.2   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-06 17:42 EDT by Kirk Beitz CLA
Modified: 2019-12-30 18:40 EST (History)
1 user (show)

See Also:


Attachments

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