Got same issue. Seems to be a wasmtime regression. Will try with other engines to attempt to identify more precisely than hunch.
Grok says : http://advance-software.com/misc/wasm_compare.html
My current example at the end of this issue : https://github.com/llvm/llvm-project/issues/163799
Thought it was an lldb regression or side effect from method I've used to re-activate wasm breakpoints, however on further reading, seems wasmtime has had this issue in the past & it's potentially returned.
These are separate issues: one is about breakpoints not working, the other about variable inspection
the variable inspection one is the more important. bcoz if that's a genuine regression in wasmtime, it means the breakpoint fix I have isn't so far off correct.
All I'm saying is that it'd be good to keep them separate instead of claiming they're the same issue
well, the variables not resolving issue is the same - perhaps different causes, perhaps not. this post interesting as it shows the problem without, it seems any changes to lldb.
it is absolutely not the same issue: the symptoms are completely different, the impact on usability is different depending on requirements, and the underlying causes are very different as well. Additionally, your issue is limited to your specific way of embedding Wasmtime, wheres this is affecting the wasmtime CLI. I get that both are problems for you, but that doesn't make them the same issue.
Let's end this discussion here and focus on the actual issue at hand
we're guessing. next step, needs a simple wasm in c or rust demonstrating the problem - I'll see if I can generate a simple repro. anyone else who gets one, first, that'd help.
@Scott Waye we unfortunately have some bugs in our implementation of transforming Wasm DWARF to native as part of compilation, as reported in a number of issues. There's some work on improving that, but the bigger effort for guest debugging is in completely changing the approach. There's very active work on this, e.g. here, here, and here
Awesome, thanks!
Scott Waye has marked this topic as resolved.
Seems problem is worked around by using v0.33.1 - the most recent - as of my current understanding before this regression occurred.
https://github.com/bytecodealliance/wasmtime/releases?page=13
removed variables missing from my lldb issue report as fairly certain that's this wasmtime issue now.
using 0.33.1 for the time being with our project resolves the matter. so that's my workaround for now.
Last updated: Dec 06 2025 at 06:05 UTC