I'm trying to execute my project in the debugger but it doesn't go to the interrupt routine. the project is correct and it works without the debugger nicely.
How do I use it?
Ok, here we go!
at first, I connect the J-link debugger to the board and I click on the start/stop debug session button. now I'm in the debug environment. I go to the Peripheral > System Viewer menu and choose these peripherals to observe them: RCC & NVIC & EXTI & GPIOA and finally GPIOB. the configuration is enough (I'm not sure that these configurations are enough. if there are some other configuration that have to do, tell me).
Ok, lets go to start the debugging. I pass all functions between
int main(void) and
while (1) by clicking on the Step Over button. well now I'm in the infinite loop and time to show! before push the button in the circuit, the registers are:
Now I push the button and click on the Step button in the debugger environment and the registers for interrupt are:
I expect that if I click on the Step button, it jump to the interrupt routine but when I click on it, it doesn't go! click-click-click-click-... No, it doesn't go!
Why? What is the problem?