Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351152 - File handles not closed after terminating debug session
Summary: File handles not closed after terminating debug session
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 8.0   Edit
Hardware: PC Windows All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 05:49 EDT by Christian Eisendle CLA
Modified: 2019-12-30 18:39 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 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/