WebAssembly / debugging

Design documents and discussions about debug support in WebAssembly
109 stars 10 forks source link

Wasm debugging MVP #5

Open billti opened 5 years ago

billti commented 5 years ago

Per discussion on the last video call, opening an issue to discuss goals for an initial MVP of Wasm debugging. (And once the issue discussion starts converging, I'll open a PR to capture in a document in the repo).

Goals

Not required for the MVP

The below are debatable. They are definitely valuable and needed eventually, but are they needed to prove out the design in an MVP?

Please comment with your take on the above, and what should be added, removed, clarified, etc. (Or if the proposal should take a different form entirely).

fitzgen commented 5 years ago

I wonder if it makes sense to have MVPs per-deliverable rather than MVPs for the whole subgroup? That is, discussion about an MVP for debugging modules and an MVP for a DWARF+Wasm convention document don't seem like they will overlap a bunch.

  • View the parameters and variables (including globals) that would be in scope at the current frame for the source language.

At an earlier subgroup meeting, it seemed like we had rough consensus that we should start with feature parity with source maps (whether this is a pre-mvp milestone or is the mvp is perhaps a matter of terminology). That is, we would initially aim for source-level stepping, breakpoints, and symbolication, and then after that do scopes/variables.

I was working with this assumption when I wrote up #6.

Do we still feel like this is a good first milestone / division of features?