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.

LP-MSPM0L1306: Why grayout the 2nd breakpoint when debugging with CCS 1.5.0?

Part Number: LP-MSPM0L1306


Tool/software:

Hi,

I put 2 breakpoint to the while loop in LP-MSPM0L1306 example; gpio_toggle_output.c:

But debugging, 2nd breakpoint become gray and be ignored:

Why? How can I use multiple breakpoint in the while loop?

Best,

Yasunori Okutsu

  • My first guess is that the code has been reordered by the compiler such that the second line (in some sense) "doesn't exist" any more. The Toggle function is an inline, consisting of a simple assignment statement.

    I would be curious where you end up if you stop at the first breakpoint, then "step over"; that might tell you where the function call was moved to.