cancel
Showing results for 
Search instead for 
Did you mean: 

About Memory View for Debugging With STM32 VS Code

rowellsa
Associate

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 6
Cartu38 OpenDev
Lead III

@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

 

Has to look like

Cartu38OpenDev_3-1765400335739.png

 

Pavel A.
Super User

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

MGogr.1
Associate III

Are you able to Memory view in Cube IDE?

@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.