This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS Debugger steps into "wrong" source file

Hi guys,

i have a rather annoying problem with my daily work with the CCS5 IDE. It's a bit tricky to describe, but i'll give it my best to keep it clear and yet short, and i am hoping very much that someone has some advise for me!

So i'm working with the TIVA CPUs and the CCS5. I have many projects in my workspace, which all share one source folder from another library project. I have included this shared folder via adding the folder as a linked folder, and have put the project-relative path into the build settings.

When i am debugging, and stepping into one of the linked source files, the CCS usually opens the file from another project. This is technically not a problem, because when i edit the source file, it will of course change in all projects that have it included. But when i debug, then enter that source file in another project, this other project becomes the active project. But when i stop debugging in this linked source file to change something (as it often happens as a result of debugging), and then launch the debug session again, i often accidentally launch the other project.

This is very annoying, and could actually electrically harm my target!

Is there any way to make the debugger enter the source files in the own project first? The debugger doesn't enter the library project, where the shared files originally reside. It enters any other open project, that also links these files into it.

So i've found this thread with similar problematics. Yet it lacks a solution. For the suggestion "Options->Customize->Directories window is empty" i have no idea what they're talking about. (In the CCS and Eclipse i didn't ever seen an "options" option). Also on slide 27 in the CCStudio IDE Tips & Tricks, i have no idea where to find the depicted menu. And haven't found it.

Closing the other projects is not an option. They must be open as i need them. Can i prevent the automatic activation of an project though?

Is this issue known to someone?

Cheers

Janos

  • Janos,

    What is the exact version of CCSv5 you are using? I vaguely remember hearing or seeing this sort of issue in CCSv4 but no longer in v5. If you are using the latest version v5.5, would you mind sending us a small test case to help us reproduce the issue?