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 5 forks source link

Replace the VSCode peripheral viewer with mcu-debug #65

Open kossnikita opened 9 months ago

kossnikita commented 9 months ago

Currently, the built-in peripheral viewer has less functionality compared to mcu-debug/peripheral-viewer.

From what I noticed:

Does it make sense to use peripheral-viewer instead? I think the idea behind this extension is very similar to the viewer in your extension. It has been used with cortex-debug for quite some time, so it will be a little familiar to developers switching to Rust from C.

If replacement is not possible, is it at least possible to transfer the functionality of this extension to your extension?

Extensions comparison image image

Yatekii commented 9 months ago

This is something that I was working on but never finished. I wrote a web based viewer that is more featureful than either of the two :) I wanna continue that at some point.

burrbull commented 9 months ago

Should be moved to https://github.com/probe-rs/vscode

kossnikita commented 9 months ago

I wasn't sure that this relative to this repository, because I didn't find device peripheral logic in it

kossnikita commented 9 months ago

I wrote a web based viewer

Is this already published somewhere?

Yatekii commented 8 months ago

It's a branch in the probe-rs/cargo-embed repository :)

noppej commented 8 months ago

There is no reason why such functionality cannot be delivered as part of the VSCode extension. The VSCode API, and DAP Protocol extensibility, would make it relatively smooth to present it in a integrated view as part of the debug extension.

I wrote the current integration as a "proof of concept", to judge usage and requirement, and because I use it myself. The total lack of feedback to this point has lowered the priority in terms of my own efforts.

That said, if you @kossnikita (or anybody else) were interested in PR'ing, I'd be happy to review and support.