1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00
cdt/debug
Umair Sair b10979677e Cleaning project fails once the binary is expanded in project explorer on Windows
Steps:
======
1. Create a managed project and build it
2. Expand the built binary available in binary container in project explorer view
3. Now clean the project, clean will fail irrespective of number of tries you do

Reason:
=======
For finding the sources for binary, Elf instance is created and Section.mapSectionData creates MappedByteBuffer of channel which locks the file on Windows until its garbage collected, see following
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4715154

Solution:
=========
Made ISymbolReader AutoCloseable and user is responsible to properly close it. In case of dwarf reader, we remove all the references of ByteBuffer and call gc.
2022-11-07 17:32:17 -05:00
..
org.eclipse.cdt.debug.application Cleaning project fails once the binary is expanded in project explorer on Windows 2022-11-07 17:32:17 -05:00
org.eclipse.cdt.debug.application.doc Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.debug.application.product Fix build failure in standalone debugger application 2022-10-25 10:20:37 +01:00
org.eclipse.cdt.debug.application.tests Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.debug.core Cleaning project fails once the binary is expanded in project explorer on Windows 2022-11-07 17:32:17 -05:00
org.eclipse.cdt.debug.dap Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.debug.dap-feature [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
org.eclipse.cdt.debug.standalone-feature [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
org.eclipse.cdt.debug.ui Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.gdb Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.gdb-feature [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
org.eclipse.cdt.gdb.ui Upgrade build.properties warnings to errors 2022-11-06 18:29:28 -05:00
org.eclipse.cdt.gnu.debug-feature [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00
pom.xml [releng] Bump versions for CDT 11.0.0 2022-10-03 12:42:37 -04:00