cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 VS Code Extension v3.x - "No data provider registered" for Live Watch

heloiamquanght
Visitor

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:

  1. Code: I declared my variable as volatile uint8_t count = 0; to prevent compiler optimization.

  2. Debug Session: I am in an active debug session using the STM32 Cube GDB Server.

  3. Adding Variables: When I click the "+" icon and enter the variable name, nothing happens, and the "no data provider" error persists.

  4. 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!


1 REPLY 1
Cartu38 OpenDev
Lead III

@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

Cartu38OpenDev_0-1766304446162.png