My program doesn't run when i download but it runs when i debug


i did my configuration using CubeMX. Then i wrote this simple program.


I builded and downloaded my program and nothing happened. Then, i started debug session and i clicked run  and program worked properly. I couldn't understand why my program doesn't work with build and download.

Best regards.

More questions in this forum