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: CCS 8.3 indexer does not start

Other Parts Discussed in Thread: AM3352

Tool/software: Code Composer Studio

Hello,

yesterday I have installed the latest CCS 8.3. So far, I've used CCS 8.2.

Unfortunately, the indexer does not seem to work with CCS 8.3. I am using projects that are generated by cmake.

Best regards,
Milan

  • Hello,
    Can your provide some more details? What exactly does not work? Are you referring to advanced editor functionality like autocomplete? I assume everything work fine with CCS 8.2?

    Thanks
    ki
  • I can repeat this problem with a project which uses cmake for the build. The project is written in C and targets an AM3352, using the GCC ARM compiler and StarterWare.

    With CCS 8.2 under Linux, can use auto-completion and Open Declaration successfully on symbols which are in the source file or an include file.

    Whereas with CCS 8.3 under Linux auto-completion and Open Declaration fail to find symbols which are in an include file.

    Attached the indexer parser logs, created by right-clicking on a source file in the project and using Index -> Create Parser Log File, for both CCS 8.2 and CCS 8.3.

    CCS8_2_sdram_test_main.log

    CCS8_3_sdram_test_main.log
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    Project: source
    File: file:/home/mr_halfword/AM3352-SOM-EVB_bare_metal/source/sdram_test/sdram_test_main.c
    Language: GNU C
    Index Version: 211.0
    Build Configuration: Debug
    Context: none
    Versions in Index: 0
    Include Search Path (option -I):
    /home/mr_halfword/ti/ccs830/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/include
    /home/mr_halfword/ti/ccs830/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/lib/gcc/arm-none-eabi/7.2.1/include-fixed
    /home/mr_halfword/ti/ccs830/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include
    /home/mr_halfword/ti/AM335X_StarterWare_02_00_01_01/include
    /home/mr_halfword/ti/AM335X_StarterWare_02_00_01_01/include/hw
    /home/mr_halfword/ti/AM335X_StarterWare_02_00_01_01/include/armv7a
    /home/mr_halfword/ti/AM335X_StarterWare_02_00_01_01/include/armv7a/am335x
    /home/mr_halfword/ti/AM335X_StarterWare_02_00_01_01/bootloader/include
    /home/mr_halfword/ti/AM335X_StarterWare_02_00_01_01/third_party/fatfs/src
    /home/mr_halfword/ti/AM335X_StarterWare_02_00_01_01/mmcsdlib/include
    Macro definitions (option -D):
    am3352=
    AM3352_SOM=
    am335x=
    gcc=
    MMCSD=
    __ACCUM_EPSILON__=0x1P-15K
    __ACCUM_FBIT__=15
    __ACCUM_IBIT__=16
    __ACCUM_MAX__=0X7FFFFFFFP-15K
    __ACCUM_MIN__=(-0X1P15K-0X1P15K)
    __APCS_32__=1
    __ARMEL__=1
    __ARM_32BIT_STATE=1
    __ARM_ARCH=4
    __ARM_ARCH_4T__=1
    __ARM_ARCH_ISA_ARM=1
    __ARM_ARCH_ISA_THUMB=1
    __ARM_EABI__=1
    __ARM_FEATURE_COPROC=1
    __ARM_PCS=1
    __ARM_SIZEOF_MINIMAL_ENUM=1
    __ARM_SIZEOF_WCHAR_T=4
    __arm__=1
    __ATOMIC_ACQUIRE=2
    __ATOMIC_ACQ_REL=4
    __ATOMIC_CONSUME=1
    __ATOMIC_RELAXED=0
    __ATOMIC_RELEASE=3
    __ATOMIC_SEQ_CST=5
    __BIGGEST_ALIGNMENT__=8
    __BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__
    __CHAR16_TYPE__=short unsigned int
    __CHAR32_TYPE__=long unsigned int
    __CHAR_BIT__=8
    __CHAR_UNSIGNED__=1
    __DA_FBIT__=31
    __DA_IBIT__=32
    __DBL_DECIMAL_DIG__=17
    __DBL_DENORM_MIN__=((double)4.9406564584124654e-324L)
    __DBL_DIG__=15
    __DBL_EPSILON__=((double)2.2204460492503131e-16L)
    __DBL_HAS_DENORM__=1
    __DBL_HAS_INFINITY__=1
    __DBL_HAS_QUIET_NAN__=1
    __DBL_MANT_DIG__=53
    __DBL_MAX_10_EXP__=308
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Comparing the parser logs shows:

    a. In CCS 8.3 the indexer in unable to resolve the include files for the project, resulting in being unable to resolve symbols from the include files.

    b. The include search path for the indexer in the same for CCS 8.2 and  CCS 8.3.

    c. The CCS 8.3 indexer is reporting the context as "none", whereas the CCS 8.2 indexer is reporting the context as the selected source file. Not sure if the this is cause of the indexer to fail to resolve the includes.

  • Chester Gillon said:
    Whereas with CCS 8.3 under Linux auto-completion and Open Declaration fail to find symbols which are in an include file.

    Attached the indexer parser logs, created by right-clicking on a source file in the project and using Index -> Create Parser Log File, for both CCS 8.2 and CCS 8.3

    The same behavior is seen when running CCS under Windows 10 as when running CCS under Ubuntu 18.04.1 LTS. I.e. the indexer works with CCS 8.2 but not CCS 8.3.

    The project was created using the "Makefile Project with Existing Code" wizard.

  • Hi Ki,

    the indexer does not start to scan the source code. If I trigger the index scan manualy via project --> c/c++ --> "index rebuild" or "freshen all files", nothing is happens. There is no progress bar bottom right.

    So no jumps to references or declarations are not working. And all depended features due to not indexed source code like color indexing or autocompletion are not working, too.

    I am working with windows 10.

    Best regards,
    Milan

  • Chester Gillon said:
    The project was created using the "Makefile Project with Existing Code" wizard.

    Thanks Chester. 

    Milan - what type of project are you working with? Is it the same or are you working with a full CCS project?

    Thanks

    ki

  • Hi Ki,

    I am working with eclipse projects generated by cmake that are imported as "Existing Projects into Workspace". With CCS 8.2 these projects are indexed properly.

    Best regards,
    Milan
  • Thanks Milan, Chester.

    This is clearly some sort of regression. I filed a bug for this. tracking ID: CCSIDE-3466

    Thanks
    ki
  • Hi Ki,

    will there be a bugfix for CCS 8.3 or later in version CCS 8.4?

    Best regards,
    Milan

  • Milan - the next release of CCS will be version 9.0 around e/o February of next year. That would be the earliest that a fix would be available. Note that more investigation of the issue must occur before we can commit to a fix in 9.0

    Thanks
    ki