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

Bug 351152

Summary: File handles not closed after terminating debug session
Product: [Tools] CDT Reporter: Christian Eisendle <christian.eisendle>
Component: cdt-debug-edcAssignee: Ken Ryall <ken.ryall>
Status: RESOLVED WONTFIX QA Contact: Ken Ryall <ken.ryall>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:

Description Christian Eisendle CLA 2011-07-05 05:49:41 EDT
Build Identifier: 20110615-0604

When debugging an executable I see that EDCWindowsDebugAgent.exe as well as eclipse.exe are also opening the same DLLs as the debugged program is opening. However, when terminating the debug session the handles to those DLLs remain open by both, eclipse.exe and EDCWindowsDebugAgent.exe
In case the dll is automatically generated out of the build process, it's not possible to remove it (e.g. "make clean" or similar) since handles to this DLL are still open. Eclipse needs to be restarted as only workaround.

GDB DSF is not showing this behavior.

Thanks,
Christian.


Reproducible: Always

Steps to Reproduce:
1. Debug an executable which is loading DLLs
2. Check open file handles (using procexp.exe for instance) 
3. Close debug session, check if file handles are still open.
Comment 1 Jonah Graham CLA 2019-12-30 18:39:33 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/