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.
When RTT is enabled, it waits for a custom request from VSCode to confirm that the output window is opened, before it starts polling the target for RTT data. This is to ensure that target RTT data is not sent into the 'void' before the VSCode output window has completed opening.
Implements the debug adapter capabilities to support new requests from VSCode, i.e. ReadMemory, WriteMemory, Evaluate and SetVariable
There are three linked PR's that depend on each other:
ReadMemory
,WriteMemory
,Evaluate
andSetVariable
probe-rs/vscode
The VSCode debug extension changes to implement the RTT interactions described above.
A WIP release is available for testing at probe-rs-debugger-0.3.5.vsix
Update the MS DAP specification and other dependencies.
docs/tools/vscode/
section of the guide.