calyxir / calyx

Intermediate Language (IL) for Hardware Accelerator Generators
https://calyxir.org
MIT License
453 stars 45 forks source link

[Cider] Debug adapter tracker #1746

Closed EclecticGriffin closed 3 weeks ago

EclecticGriffin commented 7 months ago

Extension

Much of the work on the extension is largely around ergonomics as it has some barebones functionality already. Lots of these are not mission critical

Niceties

Adapter

This is where all the real work is! The adapter doesn't currently do anything beyond initialization.

Error ergonomics

Cider Lib

The cider binary should expose a library interface to the adapter. We'll need to scope this appropriately rather than making all of cider's internals public.

Source-mapping Metadata

We need a format to map Calyx files to Calyx files so that requesting a breakpoint on a given line can be translated into setting a breakpoint on the appropriate group. We should start by sketching out what this looks like, probably line ranges and the corresponding group name.

EclecticGriffin commented 3 weeks ago

This is stale and not accurate for the current state of things. Closing for the time being, will reopen/fix or start a new tracker when relevant