cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE program flow, Arrow->

chriskuku
Senior II

I understand, that, when the arrow symbol appears in front of a source line, that means, that the program flow has stopped at that point.

But tin fact he case is, that the program is running. Only when I click pause, the arrow jumps to the "while(1)" statement and reflects the actual point where the program is running around.

I's confusing that the -> is sticking in the wrong place right after start.

4 REPLIES 4
Bob S
Principal

Perhaps the arrow there is left from when the debugger started. Since that is the first line inside main(), that may have been where the debugger "stopped" after running the "C" startup code and before you hit "run". Bottom line, when the CPU is running, ignore the source code display.

Piranha
Chief II

Normal IDEs do not show the arrow while the code is running and it is intuitive. In my opinion it is a CubeIDE bug.

chriskuku
Senior II

@Piranha​ The effect is intermittent. At the moment it's working as expected (Arrow disappears). Will watch it further. Could the problem also lie in the debug probe that's being used?

> The effect is intermittent.

That's even worse and rises the suspicion of it being a bug.