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.

Not able to use debug mode FC libraries

Hi,

I am currently using Framework components 3.23.2.16 & CCS Version: 5.1.0.09000. But I am not able to link debug mode libraries of fc packages from "\packages\ti\sdo\fc\". I see libraries from "Release" folder linked for each of the packages(verified from \Debug\configPkg\package\cfg\*.xdl file) even if I specify "debug" option in the application's Build-profile. Any suggestions to fix this would be helpful.

Regards,

Vijay

  • Vijay,

    How are you trying to enable the debug profile in your .cfg file ? Here's the line you need:-

    xdc.useModule("ti.sdo.fc.global.Settings").profile = "debug";

    This would set the profile to 'debug' for all FC libraries.

    If you'd like debug/release libs to be linked in for some libraries, you would need to add lines like this:-

    xdc.loadPackage('ti.sdo.fc.rman').profile = "debug"; // or "release".

    You can look at the following file for some details on how to set the 'profile' in xdoc documentation available here:-

    Framework_Components/3_23_02_16/exports/framework_components_3_23_02_16/xdoc/

    Navigate to ti/sdo/fc/global/Settings

    By settings your application's build profile, you are setting the build options for your application to be debug. So each file in your app, will be built in debug mode. But to bring in debug libs from FC, you will need to set that line in your cfg file.

    Let me know if you have more questions.

  • Hi Gunjan,

    Thanks for the response & sorry for the delayed response.

    Gunjan said:
    How are you trying to enable the debug profile in your .cfg file ? Here's the line you need:-

    I wasn't setting the profile to either debug/release. It must have been taking the default profile as release. 

    Gunjan said:

    xdc.useModule("ti.sdo.fc.global.Settings").profile = "debug";

    This would set the profile to 'debug' for all FC libraries.

    If you'd like debug/release libs to be linked in for some libraries, you would need to add lines like this:-

    xdc.loadPackage('ti.sdo.fc.rman').profile = "debug"; // or "release".

    This worked. I was able able to use debug/release mode libraries by this setting.


    Regards,

    Vijay