When Keil5----Debug, the value of the global variable in watch1 does not refresh the solution to the problem


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:

insert image description here

Step 2: Click View, then check Periodic Window Update

The specific operation is as follows:

insert image description here

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

Guess you like

Origin blog.csdn.net/MQ0522/article/details/130645032