2021-07-08 18:09:29 -07:00
|
|
|
# Debugging WebAssembly
|
|
|
|
|
|
2023-09-26 10:55:45 -07:00
|
|
|
Wasmtime currently provides the following support for debugging misbehaving
|
|
|
|
|
WebAssembly:
|
2021-07-08 18:09:29 -07:00
|
|
|
|
2023-09-26 10:55:45 -07:00
|
|
|
* We can [live debug and step through the guest Wasm and the host at the same
|
|
|
|
|
time with `gdb` or `lldb`.](./examples-debugging-native-debugger.md)
|
2021-07-08 18:09:29 -07:00
|
|
|
|
2023-09-26 10:55:45 -07:00
|
|
|
* When a Wasm guest traps, we can [generate Wasm core
|
|
|
|
|
dumps](./examples-debugging-core-dumps.md), that can be consumed by other
|
|
|
|
|
tools for post-mortem analysis.
|