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.

AM263P4: Unable to set breakpoints when debugging AM263P4 in CCS 20.0.2.5

Part Number: AM263P4


Tool/software:

When debugging AM263P4 in CCS, valid breakpoints cannot be set. The configured breakpoints appear gray instead of the normal red

May I ask what the reason is and how to set it up? I have already reinstalled it

  • Hello,

    The two most common causes of this:

    1) Your application was built with optimization enabled. Optimization will impact source level debug visibility. Did you compile with optimization enabled? The higher the optimization, the greater the impact.

    2) There is an issue with source code correlation. Basically the source file open in the editor is not the same source file that was used to compile the application.

    Thanks

    ki

  • Hello!
    1. My program does not have an optimization level enabled, as shown in the picture
    2. The source code I debugged is the same as the source code used for compiling and generating
    May I ask if the settings in the following image are reasonable, and if it is due to changes in the settings below that the interruption point cannot be interrupted
  • 1. My program does not have an optimization level enabled, as shown in the picture

    Please note that "empty" does not mean "off". It means to use the default. In many cases the default has some level of optimization.

    To turn it off, please explicitly set it to "0":

    May I ask if the settings in the following image are reasonable

    Your debug settings are likely not the issue here. Please try disabling all optimizations.

  • Optimization level 0, still unable to interrupt point

    Thank you for your reply

  • Can you provide your project including source and executable/

    Please start a private E2E conversation with me if you want to share privately.

  • Hello, I also tested the hello world in the examples, but it cannot be interrupted.I'm curious why there's no problem with single step debugging, but there's a problem with interrupted debugging

  • problem with interrupted debugging

    I assume you mean you have the same issue where you cannot set breakpoints (they are grey)?