D
Deno
C
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
.
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Missing source code when debugging via "deno run --inspect"
M
mo / help
2y ago
How to inspect Deno's rare uncaught rejections?
J
jeiea / help
12mo ago
Deno.inspect, how to log class instances with getters
1
177177177 / help
4y ago
How to build WASM from Rust?
V
vicary / help
16mo ago