probe-rs / vscode

VSCode debug extension for probe-rs. It uses the MS DAP protocol to communicate directly with the probe (via probe-rs), and supports basic command line debugging in addition to VSCode UI.
https://probe.rs/
Other
65 stars 6 forks source link

Failed to update variable during debug session #69

Closed no111u3 closed 8 months ago

no111u3 commented 10 months ago

After change some register value during debug session receive message:

Failed to update variable: MODER, with new value "10101011111111111111011111111111 @ 0x48000000" :
Please report this as a bug.

This happened for every registers and bit fields who allows to change it value.

MCU: STM32G474RET6, Debugger: ST-Link-v3 (Nucleo development board), Probe-rs: v0.21.1

noppej commented 9 months ago

Yeah, updating register fields is not supported/implemented yet. The message is misleading. In theory, it should be easy to add this support ...

65 is probably a better solution though.

noppej commented 8 months ago

Closing in favour of #65 ... unless someone comes up with a better solution.