-
Bug
-
Resolution: Fixed
-
Medium
-
Code Composer Studio IDE
-
CCSIDE-4133
-
-
CCS_11.2.0
-
CCS_12.1.0
-
Generic
To reproduce the issue I created the following folder structure:
/
+ A/
+ namespace.h |
+ namespace.cpp |
+ B/
+ namespace.h |
+ namespace.cpp |
+ main.cpp
The namespace.cpp files defines functions A::foo(int) and B::foo(int) as well as classes with functions A::C::bar(int) and B::C::bar(int).
If I build and load the .out file in CCS with a projectless debug session, I can resolve the fully qualified names. More specific to this issue, I can go to the Modules view and click on the functions in the different namespaces and I am brought to the correct source files.
To reproduce the bug, I first move the source files on my machine after building. Now CCS can’t use the paths in the .out file to find the exact files.
Next I create a dummy CCS project and a debug configuration where I add the paths to A/ and B/ as source lookup paths. (You can also add the root folder containing both A/ and B/ instead.)
Now when I click on A::foo or B::foo, I am brought to only one of the two namespace.cpp files. Which one I am brought to probably depends on search order.
Since the source file lookup worked in the first case I described, this seems to be an issue in the way the IDE searches the source lookup paths.