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.

difference between release and debug

Dear sir,

I have a doubt that what is the difference between the debug configuration and release configration...both are having .out fle.....is there any difference in .outfile ..?

thank you

  • You can get debug information in that debug based *.out file.
    Please refer to the following TI wiki page.
    processors.wiki.ti.com/.../CCStudio_FAQ

  • Hi Mohammad,

    The following is the debug and release configuration of a sample project I have taken.

    Debug mode:

    ============

    Compiler configuration:

    -mv6600 --abi=eabi --include_path="C:/ti/pdk_c667x_2_0_0/packages/ti/drv/uart" --include_path="C:/ti/pdk_c667x_2_0_0/packages" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" -g --define=UART_V0 --define=SOC_C6678 --define=EVM_C6678 --define=USE_BIOS --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --display_error_number --entry_hook=ti_utils_entry --entry_parm=address --exit_hook=ti_utils_exit --exit_parm=address

    Release mode :

    ==============

    Compiler configuration:

    -mv6600 --abi=eabi -O2 --include_path="C:/ti/pdk_c667x_2_0_0/packages/ti/drv/uart" --include_path="C:/ti/pdk_c667x_2_0_0/packages" --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include" -g --define=UART_V0 --define=SOC_C6678 --define=EVM_C6678 --define=USE_BIOS --diag_warning=225 --diag_warning=994 --diag_warning=262 --diag_wrap=off --diag_suppress=1111 --diag_suppress=827 --diag_suppress=824 --diag_suppress=837 --diag_suppress=1037 --diag_suppress=195 --diag_suppress=77 --diag_suppress=232 --display_error_number --entry_hook=ti_utils_entry --entry_parm=address --exit_hook=ti_utils_exit --exit_parm=address

    I could see that the optimization level 2 is explicitly set for release compiler configuration where-as for debug mode, it is unoptimized as the "O" is not specified with any levels. You can also check out the Linker configuration of your project by changing the Debug mode and the release mode.

    In CCS, the name of the executable remains same for both the debug and the release configurations.