cancel
Showing results for 
Search instead for 
Did you mean: 

how to real-time update "watch" windows data

ApeMan
Associate

like keil "periodic window updata",now i can see the data by pausing

STM32Cube for Visual Studio Code V3.5.1

1 ACCEPTED SOLUTION

Accepted Solutions
Florent V
ST Employee

Hi ApeMan,

You can use the live watch feature in the STM32Cube for Visual Studio Code pre-release 3.5.1 by adding the following attribute in your debug configuration:

"liveWatch": {
    "enabled": true,
    "samplesPerSecond": "4"
},
 
An STM32Cube Live Watch view is available in the debug activity bar. You can add an expression using the "+" button.
FlorentV_0-1756391144597.png
And then add your expression thanks to this field:
FlorentV_1-1756391168950.png

Regards,

/Flo

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Florent V
ST Employee

Hi ApeMan,

You can use the live watch feature in the STM32Cube for Visual Studio Code pre-release 3.5.1 by adding the following attribute in your debug configuration:

"liveWatch": {
    "enabled": true,
    "samplesPerSecond": "4"
},
 
An STM32Cube Live Watch view is available in the debug activity bar. You can add an expression using the "+" button.
FlorentV_0-1756391144597.png
And then add your expression thanks to this field:
FlorentV_1-1756391168950.png

Regards,

/Flo

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.