SysTick_Handler doesn't trig under Debug mode
I did solved it. STM32-MAT/TARGET creates a variable remainAutoReloadTimerLoopVal_S. This variable is declared as static uint32_t remainAutoReloadTimerLoopVal_S = 1; in main.c. If we change this to static volatile uint32_t remainAutoReloadTimerLoopVal_S = 1; it will work. SysTick_Handler is triggered.
Fix:
added "volatile"
Tools used.
1.STM32-MAT/TARGET
2.STM32CubeMX
3.System Workbench for STM32