Debugging WebAssembly with modern tools

Paulo Pinto pjmlp at progtools.org
Sun Dec 13 09:02:53 UTC 2020


On Friday, 11 December 2020 at 21:55:24 UTC, Sebastiaan Koppe 
wrote:
> On Friday, 11 December 2020 at 10:39:54 UTC, Paulo Pinto wrote:
>> Chrome now supports source code debugging for WebAssembly.
>>
>> Maybe something to eventually check for LDC as well.
>>
>> https://developers.google.com/web/updates/2020/12/webassembly
>
> Why wouldnt it already work? It uses dwarf debuginfo, which is 
> already emitted by llvm in the wasm binary.

Either I am doing something wrong, or just adding -g isn't enough 
to make it work for ldc.





More information about the digitalmars-d-ldc mailing list