orca-app / orca

A Wasm environment for cross-platform, sandboxed graphical applications.
https://orca-app.dev
Other
349 stars 16 forks source link

Debugging story #34

Open martinfouilleul opened 11 months ago

martinfouilleul commented 11 months ago

One of next big topic we have to tackle is debugging. Here are some thoughts.

There's two way we can approach this (and both can certainly coexist, but it's a matter of choosing where we put our limited resources on):

I'm leaning towards the internal tooling, because I think its where we can deliver a lot of value for app developers, and we can take some shortcuts by knowing the specifics of our "platform". It is also less dependent on external factors we don't control (eg the various ways external tools want to talk to wasm interpreters).

This mean we should be able to, at the very least:

Besides line stepping, we can have a number of nice debugging tools accessible from developer overlays: