Bug in STM32CubeIDE?
Hi,
I have a counter incrementing as:
if (condition == TRUE)
count++
The counter is initialised as:
int count = 0;
I would expect that the counter would increment by '1' every time the condition is 'TRUE'. And this is in fact the case when I'm stepping through the code and have a breakpoint set within the 'if' statement. However, if I let the program run its course, I see in the "Live Expressions" window the count value increment by an arbitrary number. Super strange. This is a simple task, and so I'm at a loss as what could be causing it.
It looks like depending on whether I have a break statement at that line of code determines the value added to "count".
Is this a bug in STM32IDE?
Best,
Nat
