cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube IDE executing commented lines

DPrie.1
Associate II

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Mike_ST
ST Employee

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.

View solution in original post

2 REPLIES 2
Mike_ST
ST Employee

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.

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

Thank you a lot,

Regards