This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set "Use Simulator" and "Run to main()" in Debug but does not stop at main()

I am using uVision V5.15.0 and built an generic M4 based project with "Hello World" program. Set "Use Simulator" and "Run to main()" in Debug tab, built code and started Debug Session, but debugger does not stop at main() rather stopped at the following line.

LDR R0, =SystemInit

My question is why the tool does run to main() as the Options promised? What else it needs to be done to make the debugger runs to main()?