2025-12-20 5:19 PM
Hi everyone,
I am migrating from STM32CubeIDE to VS Code using the official STM32Cube for VS Code extension (v3.4.11 pre-release). While I can build and debug my project, I am struggling to get the Live Watch feature to work.
My Environment:
IDE: VS Code with the latest STM32 official extension.
Hardware: Nucleo board with onboard ST-LINK V3.
MCU: STM32H7 series.
Project Structure: Generated via STM32CubeMX as a CMake project.
Project Name: projectBlink.
The Issue: In the "STM32CUBE LIVE WATCH" tab, I constantly see the message: "There is no data provider registered that can provide view data.".
What I've tried:
Code: I declared my variable as volatile uint8_t count = 0; to prevent compiler optimization.
Debug Session: I am in an active debug session using the STM32 Cube GDB Server.
Adding Variables: When I click the "+" icon and enter the variable name, nothing happens, and the "no data provider" error persists.
Version Check: I noticed some community posts suggesting that the v3.x pre-release might not fully support Live Watch yet.
Question: Is this a known limitation of the v3.x pre-release, or am I missing a specific configuration in launch.json to register the data provider?. Any guidance on how to enable real-time variable tracking in this version would be greatly appreciated.
Thank you!
2025-12-21 12:07 AM
@heloiamquanght why v3.4.11 prerelease while 3.7.0 release is available ?
Let's enable livewatch as part of your launch.json it may help