I have a code that I'm trying to debug with Keil uvision4 .
I set up the project for simulator debugger. However, when I click "Debug" it always goes to the .s file but never enters the c code
I am not an informatic engineer so i may not grasp the meaning behind all these concepts. I apologize if i didn't fully understand your answer or may be i didn't succeeded in explaining my problem to know where is the bug i have to go step by step or do some breakpoints usually when i try to debug my project , which is composed of a .s file where i define my vector table and a c. code that contains my algorithm, when i go step by step the space in front of each executed line become green and so on until i find the bug however in my case not a single instruction was executed. Even if my "code is looping for some hardware that doesn't exist"
at least there are some instruction that should be working fine my first code line is
A = (0.7854 * D*D); //cross section area