Hello Bros,
I have a pro blem with keil uvision when i try to debug a code the debugger stop
at main function and does not debugg the rest of the code
That's because there is no "rest of the code," The compiler correctly deduced that your program does not produce any effect on the world, and so that's what it compiled the code to do: nothing.
Thank you bro
Related:
"Selecting optimization options"
https://www.keil.com/support/man/docs/armclang_intro/armclang_intro_fnb1472741490155.htm
"Compiler optimization levels and the debug view"
https://www.keil.com/support/man/docs/armcc/armcc_chr1359124221739.htm
Thank you Bro