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.

RE: Entering Debug mode rebuilds all projects



I also see the same behavior. 

A way to turn off building before debugging could be very important.

I need to debug a tagged version of my software and I don't want to rebuild it: I want to debug it as is!!

In "Debug configuration" => "Program" => "Program" is written "${build_artifact:D135B_P30}" where D135B_P30 is the binary name produced by the build.

Could be this setting to rebuild before debugging?

  • Paolo Menghi said:

    I also see the same behavior. 

    A way to turn off building before debugging could be very important.

    I assume you are launching the debugger by clicking the green bug button (for Debug). If so, the default behavior in CCS should be to build a project only if it is not up-to-date, meaning that it has changed since the previous build. If there is no change in the project, it should not rebuild. If you have a test case that generates a rebuild every time we would like to see it so we can investigate if there is a bug.

    If you want to avoid a rebuild, you can manually launch a debug session without using the green bug button. Please see the quick tip video titled "Launching a shared target configuration manually" found here: http://processors.wiki.ti.com/index.php/Quick_Tips#Target_Setup

    It that shows how to manually launch a target configuration file, connect to target and load a program. Basically you can manually perform the same steps that the green bug button automatically does for you, but avoid the build portion. Hope this helps.

  • Thank you very much: this answer solved my problem.