cowboydC
Denoβ€’12mo agoβ€’
7 replies
cowboyd

How to load DWARF debugging symbols from WASM modules when running `deno --inspect`

I'm trying to step through some WASM code that I've imported as a module with the debugger when using deno --inspect. While this does work with the raw WASM, it does not actually display any of the debug symbols that are included when you compile with -g

I've set up a project to demonstrate the issue: https://github.com/cowboyd/deno-wasm-debug

I'm not sure exactly why this is not working in Deno, but it could very well be that it is not loading the custom devtools extension that is require to load the debug symbols.

Has anybody else gotten this to work, or know of a way that it could?
GitHub
Try to figure out how to load DWARF debug symbols for WASM module when using deno --inspect - cowboyd/deno-wasm-debug
DevTools Plugin for debugging C/C++ WebAssembly applications (using DWARF debug information). BETA version, use at your own risk.
C/C++ DevTools Support (DWARF) - Chrome Web Store
Was this page helpful?