Getting a breakpoint to set can depend on a number of things. You should check that you have debugging information enabled (-g). Also, is it C or C++? Bare-metal or Linux?, Application, static or shared library?
Sorry it has taken me so long to reply to this, I have been off on another project. I have been able to get line breakpoints to work when I build on my local machine. If I build on a remote machine and then copy the binaries and code to my PC, I still cannot get line breakpoints to work. I have tried various ways of changing the source lookup settings under my debug configuration, but the breakpoints still don't work. Could there be a setting that I am missing?
Is it C or C++? Bare-metal tools or Linux tools. Application, static or shared library? Does it work for any of the files?
What error is presented?
Do you see the breakpoint appear in the disassembly view at the same address?
Can you sumbit a help request through the product with details of this issue and if possible, a workspace that exhibits this behaviour? Engineering would like to take a look at this. You can submit a help request from the IDE by selecting Help > Sourcery CodeBench Support > Create Issue Report.
This is both C and C++ running an RTOS and it is just a single binary application. I believe it has to do with the location of where the files are built. On the same exact code base, it works if built in the directory of the CodeBench project but doe not work if built on a remote server and then copied into the project directory. The breakpoint never gets the check mark by it showing that it is applied. I have a feeling this has something to do with remote building while debugging locally, but I have not been able to find any documentation on how to set up the source lookup for that scenario. I will check the disassembly the next chance I have and submit a help request.