question:
In Keil5-MDK, when debugging, the value of the global variable in watch1 is not refreshed.
Solution:
Step 1: Enter Debug mode
Connect the program debugging downloader (STlink, Jlink, Ulink) and compile the program.
Do the following:
Step 2: Click View, then check Periodic Window Update
The specific operation is as follows:
After the above operations, the value can be refreshed.
Keil5 compilation environment construction process - STM32 and GD32
Keil5-MDK download and installation tutorial
Keil5 - window background protection color setting
Keil5 - open map file method and map file analysis
Keil5 - new project file ( .c file and .h file)
Keil5----jump definition and search function
Keil5----display blanks and set tab keys with
blank spaces problem solving