Loading...
 
Skip to main content

System Workbench for STM32


How to keep timers running when paused on breakpoint?

I'm trying to debug somebody's else example project. I want to watch timers using osscilloscope while stepping through the code. Unfortunatelly when paused on breakpoint, timer also gets stopped. How can I keep it running?

Thank you and sorry for newbie question 😊

Timers don't stop when you are paused on breakpoint unless you specifically ask the DBG component to freeze them. Search for "freeze register" in the DBG section of your reference manual for more information.