Skip to main content
Visitor II
Dec 10, 2025 8:58 AM UTC
Question

About Memory View for Debugging With STM32 VS Code

I wanted to inspect the memory using the built-in Memory View window in VS Code, but the option is unavailable even though the debugging is on at that time, and it says "Add a new view using the plus button in the Toolbar with the debugger paused. Supported debuggers: cspy, cortex-debug, cppdbg."

Is this a limitation of the current ST-Link GDB debugger in STM32 VS Code extension version?

6 replies

Cartu38 OpenDev
Graduate II
Dec 10, 2025 8:57 PM UTC

@rowellsa 
You're not relying on proper memory view.
Right one is :

Cartu38OpenDev_0-1765400099601.png
You're on :

Cartu38OpenDev_1-1765400139000.png


Let's check CDT one is installed and call it Thanks (takes care this view is only available having a debug session active)
Cartu38OpenDev_2-1765400243241.png

 

Cartu38 OpenDev
Graduate II
Dec 10, 2025 8:59 PM UTC

Has to look like

Cartu38OpenDev_3-1765400335739.png

 

Pavel A.
Dec 11, 2025 12:50 AM UTC

Isn't this curious that a viewer for Eclipse CDT (CubeIDE) works with Code, and one for mcu-debug does not? 

Cartu38 OpenDev
Graduate II
Dec 11, 2025 5:05 AM UTC
MGogr.1
Senior
Dec 11, 2025 5:46 AM UTC

Are you able to Memory view in Cube IDE?

Cartu38 OpenDev
Graduate II
Dec 11, 2025 6:30 AM UTC

@MGogr.1 not sure to understand your question here. Yes i'm able relying on CDT extension. I've shared snapshot of view running above.