Debugging WebAssembly - Wasmtime

## Keyboard shortcuts

Press `←` or `→` to navigate between chapters

Press `S` or `/` to search in the book

Press `?` to show this help

Press `Esc` to hide this help

# Debugging WebAssembly

Wasmtime currently provides the following support for debugging misbehaving WebAssembly:

- We can live debug and step through the guest Wasm and the host at the same time with `gdb` or `lldb`.

- When a Wasm guest traps, we can generate Wasm core dumps, that can be consumed by other tools for post-mortem analysis.