Stream: wasmtime

Topic: Guest debugging branch WIP


view this post on Zulip Alex Crichton (Mar 02 2026 at 18:59):

@Chris Fallin do you have a branch I could build for the demo you showed the other week? Testing out building lldb locally with wasi-sdk and I want to make sure the lldb that pops out is able to do the wasm process plugin stuff

view this post on Zulip Chris Fallin (Mar 02 2026 at 19:18):

Sure -- here's the (completely hacked up, please don't stare at the code too deeply, it's going to be rewritten to use upstream gdbstub) adapter component: https://github.com/cfallin/gdbstub-component

and my wasmtime branch with the debugger world: https://github.com/cfallin/wasmtime/tree/a-whole-wide-world-for-debuggers-to-play-in

the README in the adapter component gives build instructions

Happy to help if you run into anything!

view this post on Zulip Alex Crichton (Mar 02 2026 at 21:37):

If I load up something and type process connect --plugin wasm connect://localhost:1234 in LLDB nothing seems to happen, is there something else to type in lldb?

view this post on Zulip Alex Crichton (Mar 02 2026 at 21:37):

like a "run" or a "continue" or similar

view this post on Zulip Chris Fallin (Mar 02 2026 at 21:37):

it's paused by default

view this post on Zulip Chris Fallin (Mar 02 2026 at 21:37):

do you see a "Process 1 stopped"?

view this post on Zulip Alex Crichton (Mar 02 2026 at 21:37):

no output from lldb

view this post on Zulip Chris Fallin (Mar 02 2026 at 21:38):

happy to pair-debug if you're free?

view this post on Zulip Alex Crichton (Mar 02 2026 at 21:38):

https://us02web.zoom.us/j/81647259312?pwd=CxI86vqNWH9XIdl1PPqxBhKd8DnRZR.1


Last updated: Mar 23 2026 at 18:16 UTC