User Activity

Hi, I'm getting a hard fault on MX_TIM1_Init() but only during debug sessions. When I set a breakpoint after initialization, then I can step through and everything works. Why is this happening?