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.

Compiler/CCSTUDIO: Open declaration and directed to wrong place

Part Number: CCSTUDIO

Tool/software: TI C/C++ Compiler

CCS: 8.2.0

https://imgur.com/a/rt7PTh9

1. I want to open declaration for MEMP_NETBUF.

2. I'm directed to line 55 where I can't find MEMP_NETBUF

3. for making sure I search MEMP_NETBUF, and find nothing.

4. The hint gives me value 6, and where is 6 actually?

Thank you.

  • Andy Lin94 said:
    for making sure I search MEMP_NETBUF, and find nothing.

    You are using Find/Replace which only searches in the context of the active source file. Try using the File Search feature instead. It should find instances of that text from all files.

  • But the feature "Open declaration" should brings me to instance location?
    In the second screenshot, there is not a instance location.
    BTW, I tried File Search and found no instance location. screenshot: https://imgur.com/a/uzknGbs
    I guessed maybe the instance is not within workspace files?
  • Andy Lin94 said:
    I guessed maybe the instance is not within workspace files?

    That is possible, but I'm not familiar with the LWIP library code so these macro names do not immediately ring a bell. Which device are you working with and is the code based on TI examples? If so, I would recommend posting code related questions to the relevant device forum as they would be more familiar with these library code and can point you quicker to information on where to look for specific macro definitions etc.

  • Andy,
    CCS v8.2.0 has some issues with the indexer.
    Try v8.1.0 or wait a few days/weeks for v8.3.3.