Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320086 - Project's names go in conflict while debugging if exist a project's name equal to the root folder of source code under debug
Summary: Project's names go in conflict while debugging if exist a project's name equa...
Status: RESOLVED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-edc (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Ken Ryall CLA
QA Contact: Ken Ryall CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 05:17 EDT by Donatello CLA
Modified: 2019-12-30 18:39 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Donatello CLA 2010-07-16 05:17:47 EDT
Build Identifier: 20100218-1602

Project's names go in conflict while debugging, if exist a project's name equal to the root folder of source code under debug.
Example with two project:
Project Name | Root Folder | Source Code
========================================
MyProjectName| src         | main.c
src          |(the same of | main.c 
             | the project)|       

These case, could happen trying to backup a copy of the src folder (i.e. a particular project release you wish to save) externally to the project folder (just up one level).

These case, involve a strange behaviour into the debugger, which looks like is still working on the source code under debug, but follow different steps of code (the steps contained in the external "src" project).

To solve the issue, just rename the src project in a different name from the root folder containing the source code of the other projects.

Reproducible: Always

Steps to Reproduce:
1. Create a C project
2. Create a root folder named "src"
3. Create a main.c file
4. In the workspace folder (which include all the projects) create a directory named "src"
5. Copy into "src" folder a different release of the main.c of the project created in step 1.
6. Run the Debug of main.c in the project of step 1
7. Try to follow the flow. You should see the debugger working in a strange manner.
Comment 1 Jonah Graham CLA 2019-12-30 18:39:55 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/