A line of code is not being executed in STM32 Bluepill while being debugged with BMP in VSCODE PlatformIO
That is perfectly normal. The compiler has optimizations on, and it sees you have an empty for loop which does nothing so it optimizes it away. Since there is now an empty subroutine it can also be optimized away and it does not need to be called.