TOPLLab / WARDuino

📟 A dynamic WebAssembly VM for embedded systems
https://topllab.github.io/WARDuino/
Mozilla Public License 2.0
73 stars 7 forks source link

bug fix: raised exception survives restart VM #160

Closed carllocos closed 1 year ago

carllocos commented 1 year ago

If an exception is raised during Wasm execution. We will keep track of the exception msg and exception location (savecPCError). So that when the module is newly loaded the saved information is restored into the loaded module. This enables a small form of offline debugging.