Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32h7/STM32H7A3/DBGMCU/APB2FZ1#0x0
DBGMCU APB2 peripheral freeze register
TIM1 stop in debug
TIM8 stop in debug
TIM15 stop in debug
TIM16 stop in debug
TIM17 stop in debug
https://github.com/modm-io/cmsis-svd-stm32