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 5.2 build and rebuild and rebuild and rebuild before debuging

I have two projects in workspace: application and library which application depend to.

I observe very strange behavior. Each time I try to load application and debug it (press beetle icon), the first thing CCS rebuilds library and application even thought I didn't change any code neither in library nor in application. Sometimes CCS rebuilds library two or three times before loading app. Can anyone explain what can cause this annoying behavior and how to fix it.

Basically I prefer to build all my projects manually whenever I want it, but when I load and debug app I don't want any rebuilding. Is it possible?

Thanks

  • Hi Robert,

    This is indeed very strange (and annoying) behavior. But something that have sporadically popped up from time to time. The expected behavior is to do an incremental build. What version of CCSv5.2 do you see this behavior? And is any of your source/project on a networked drive? Are you using any version control?

    Robert Smith said:
    Basically I prefer to build all my projects manually whenever I want it, but when I load and debug app I don't want any rebuilding. Is it possible?

    You can simply launch the debugger manually and the load your program. This is called starting a project-less debug session.

    See slides 79-81 of: http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/workshops/CCSv5/C2000/CCSv5-Workshop(C2000)_2.pdf

    Thanks

    ki

  • Hi,

    Sorry for digging up an old thread, but I see the same issue. The 'library' gets rebuild every time I launch. Sometimes it ever rebuilds it twice. That is super-annoying, as launching this way takes very long.

    But I see that not all of the library gets rebuild. If I clean and then rebuild all projects, it works like I expect it. But then, if I change one file in the library, it rebuilds that one file on every launch. Then if I edit more files, it starts to build all files that were changes since the last clean build.

    Hope that helps in finding the issue here. This is in CCS 5.3.0.00090

  • I am also seeing the same  issue ... I am unable to load the .out file for debugging.. I got to wait for several minutes before it completes building the entire project .

    This happens whenever u exit out of debug session , and try to load the .out file again.

  • I'm digging up this thread yet again, because I'm having the exact same problem with CCS version 6.01.00040. It used to work just fine, but after we created a new build configuration for a different product, we now have to suffer through a complete rebuild every time we restart the debugger. Can anybody in support tell me how to control this? It is extremely annoying!
  • Hello,

    I'm seeing this problem as well.  I have CCS 6.1.2.00015, but I have seen this behavior for several versions in the past as well. 

    If I build from the hammer the behavior is correct.  However, when I launch the debugger the LIB is always checked twice, then the main app.  The problem isn't so annoying if there's nothing to build in the lib.  However, if there is, the LIB builds it twice.  Then the app builds and links.  

    What's going on to make the LIB think it has to build itself twice.  What's changed after the first lib.a is created that makes it build again?  and why only two times.  You would think if a dependency change is causing the second build then why isn't that dependency change causing a third or fourth build.

    Thanks