Skip to main content
DPrie.1
Associate II
February 12, 2021
Solved

STM32Cube IDE executing commented lines

  • February 12, 2021
  • 1 reply
  • 1747 views

Hello everyone,

I'm debuging a project with 2 recent commented lines, and the debug is executing this lines:

0693W000008G09WQAS.png 

I previously builded that project, I don't understand what's happening, maybe you can answer me that question.

Thank you in advance!

This topic has been closed for replies.
Best answer by Mike_ST

Hello,

These kind of things happens when the optimization is on or when the source code is not what has been compiled.

i.e your compilation has maybe not been succesful and the recently commented lines have not been taken in account.

1 reply

Mike_ST
Mike_STBest answer
Technical Moderator
February 12, 2021

Hello,

These kind of things happens when the optimization is on or when the source code is not what has been compiled.

i.e your compilation has maybe not been succesful and the recently commented lines have not been taken in account.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. 
DPrie.1
DPrie.1Author
Associate II
February 12, 2021

Working now, I was modifying the "main.c" code in another project location, instead of doing in the repository!

Thank you a lot,

Regards