platformio-vscode-ide icon indicating copy to clipboard operation
platformio-vscode-ide copied to clipboard

Edit memory contents in Platformio debugger

Open me21 opened this issue 5 years ago • 1 comments

Hello everyone,

I can view chip RAM contents with Platformio debugger (“Memory” tab), however, when I tried to edit it, I got the message that it’s read only. How can I enable editing RAM contents with debugger? I can edit the values of variables (local, global and static), but there’s a variable missing from the list (perhaps because it’s complex struct with nested structs), and I’d like to edit some members of that struct.

I’m using STM32F103C8. My debug tool is ST-LINK.

According to https://community.platformio.org/t/edit-memory-contents-in-platformio-debugger/6777/3

set {unsigned int}0x3FF44004=0x00000000 in the debug console this command works fine.

It would be great to bring this feature to UI.

me21 avatar Jan 22 '20 09:01 me21

Basically the same holds true for modification of content of registers. Currently, it can be done using the GDB console, but it would be nice to have such feature also in GUI (e.g. after double-clicking the shown register value).

ghost avatar Jun 12 '20 06:06 ghost