News for hackers. Stuff that matters.
Re:Debugging WebAssembly with Modern Tools by flohofwoe on Thursday December 10, 2020 @11:24AM (#25375344)
I just tried it and it works pretty well. Awfully slow on my mid-2014 MacBookPro though, especially the variable-view-panel redrawing takes very long (1..2 seconds). But definitely a promising new start compared to the older source-map debugging solution.

Hopefully this will also lead to a 'seamless debugging experience' inside VSCode. It would be pretty awesome to have (for instance) a HTML panel with a WebGL canvas in one VSCode tab while stepping through the C/C++ code in another tab. With a bit of tinkering this would also make a nice shadertoy-style live-coding environment.

Re:Debugging WebAssembly with Modern Tools by kowbell on Thursday December 10, 2020 @11:42AM (#25375505)
Not WebAssembly related, but there are already VSCode plugins for "a nice shadertoy-style live-coding environment!"

GLSL preview: https://marketplace.visualstudio.com/items?itemName=circlede...

Full on Shadertoy environment (preview panel, lets you use Shadertoy's uniforms): https://marketplace.visualstudio.com/items?itemName=stevenso...

Re:Debugging WebAssembly with Modern Tools by RReverser on Thursday December 10, 2020 @04:52PM (#25379236)
Interesting, are you on the latest Chrome Canary? If so, could you please report a bug with a simple repro to the https://bugs.chromium.org/p/chromium/issues/entry?template=D... link mentioned in the article?