digitalmars.D.ldc - Debugging WebAssembly with modern tools
- Paulo Pinto (3/3) Dec 11 2020 Chrome now supports source code debugging for WebAssembly.
- Sebastiaan Koppe (3/6) Dec 11 2020 Why wouldnt it already work? It uses dwarf debuginfo, which is
- Paulo Pinto (4/12) Dec 13 2020 Either I am doing something wrong, or just adding -g isn't enough
- Sebastiaan Koppe (4/17) Dec 13 2020 I just tried with ldc 1.24, works like a charm:
- Paulo Pinto (4/23) Dec 18 2020 Duh, I missed the part about the Chrome extension.
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
Dec 11 2020
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/webassemblyWhy wouldnt it already work? It uses dwarf debuginfo, which is already emitted by llvm in the wasm binary.
Dec 11 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:Either I am doing something wrong, or just adding -g isn't enough to make it work for ldc.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/webassemblyWhy wouldnt it already work? It uses dwarf debuginfo, which is already emitted by llvm in the wasm binary.
Dec 13 2020
On Sunday, 13 December 2020 at 09:02:53 UTC, Paulo Pinto wrote:On Friday, 11 December 2020 at 21:55:24 UTC, Sebastiaan Koppe wrote:I just tried with ldc 1.24, works like a charm: https://paste.pics/4f5d412af40cef93f89c5e9100730272 I am using dub to build it, has -d-debug as well as -g.On Friday, 11 December 2020 at 10:39:54 UTC, Paulo Pinto wrote:Either I am doing something wrong, or just adding -g isn't enough to make it work for ldc.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/webassemblyWhy wouldnt it already work? It uses dwarf debuginfo, which is already emitted by llvm in the wasm binary.
Dec 13 2020
On Sunday, 13 December 2020 at 22:41:13 UTC, Sebastiaan Koppe wrote:On Sunday, 13 December 2020 at 09:02:53 UTC, Paulo Pinto wrote:Duh, I missed the part about the Chrome extension. Thanks for checking it out.On Friday, 11 December 2020 at 21:55:24 UTC, Sebastiaan Koppe wrote:I just tried with ldc 1.24, works like a charm: https://paste.pics/4f5d412af40cef93f89c5e9100730272 I am using dub to build it, has -d-debug as well as -g.On Friday, 11 December 2020 at 10:39:54 UTC, Paulo Pinto wrote:Either I am doing something wrong, or just adding -g isn't enough to make it work for ldc.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/webassemblyWhy wouldnt it already work? It uses dwarf debuginfo, which is already emitted by llvm in the wasm binary.
Dec 18 2020