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.

Incorrect code coverage report

I'm running Code Composer Studio 4.13.00038 with code generation tools 6.1.17. Starting with code generation tools 6.1.16 the coverage report incorrectly reports some visited lines as not visited. Stepping through the code shows that the lines are executed, but the report marks them as not covered.

The coverage report is correct with code generation tools 6.1.15.

What should I do to get correct coverage reports?

  • Hi Tomas,

    Are you using the CCS Coverage tool?

    What is the exact target you are running on?

    Thanks

    ki

  • Hi Ki,

    We're using the code coverage tool in Code Composer v4 and are targeting a DM648. The simulator that we use is C64x+ CPU Cycle Accurate Simulator (little endian).

    Regards,

    Tomas and Lars

  • Hi Tomas, Lars,

    I using the same simulator, I have not seen any difference in my coverage data reports between CGT 6.1.15 and 6.1.16.

    Where are you seeing the discrepency? In the tables or the highlighted lines in the editor?

    Could you also provide a reproducible test case?

    Thanks

    ki