3 ms·
Not bad! Sounds like the tooling has improved since I last looked. How about debugging? Is it possible to step through a mix of C and JS stack frames?
by iainmerrick 6y ago
Not bad! Sounds like the tooling has improved since I last looked.
How about debugging? Is it possible to step through a mix of C and JS stack frames?
- flohofwoe 6y agoThe Chrome devtools have added experimental DWARF debugging support, but for big projects that's still a bit of a hassle: https://developers.google.com/web/updates/2020/12/webassembly https://developers.google.com/web/updates/2020/12/webassembl... The embedded Javascript can be debugged as usual. In my case I usually debug the platform-agnostic code compiled natively in IDEs like Visual Studio or Xcode, and for the HTML5 specific code (which is just a few hundred lines) traditional "printf-debugging".