DenoDDeno
Powered by
cowboydC
Denoβ€’14mo 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
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
-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
GitHub - cowboyd/deno-wasm-debug: Try to figure out how to load DWA...
Try to figure out how to load DWARF debug symbols for WASM module when using
deno --inspect
deno --inspect
- cowboyd/deno-wasm-debug
C/C++ DevTools Support (DWARF) - Chrome Web Store
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
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Missing source code when debugging via "deno run --inspect"
moMmo / help
2y ago
How to inspect Deno's rare uncaught rejections?
jeieaJjeiea / help
12mo ago
Deno.inspect, how to log class instances with getters
1771771771177177177 / help
4y ago
How to build WASM from Rust?
vicaryVvicary / help
16mo ago