Stream: wasmtime

Topic: wasm breakpoint regression - lldb - fixed :)


view this post on Zulip Steve Williams (Oct 15 2025 at 19:15):

Breakpoints working again :)

Might not be a Windows only issue this time.

Quick fix :

File: lldb\source\Plugins\JITLoader\GDB\JITLoaderGDB.cpp

  1. In JITLoaderGDB::SetJITBreakpoint

Comment out :

//if (DidSetJITBreakpoint())
//return;

  1. In JITLoaderGDB::ModulesDidLoad

Comment out :
//if (!DidSetJITBreakpoint() && m_process->IsAlive())

  1. Build lldb as normal. Fixed :)

Apologies for the disturbance. We got a full toolchain again. Thanks to all for your excellent work.

view this post on Zulip Steve Williams (Oct 17 2025 at 08:50):

As expected the lldb inquisition begins :)

As stated in the comment, I don't have time to deep dive lldb right now, I just need a fix & have one. If anyone else has more time/inclination to analyze this in more depth, please feel free to contribute. Deep crunch getting our stuff out the door, until then, it's essentials only.

https://github.com/llvm/llvm-project/issues/163799#issuecomment-3412779618

What happened : LLDB breakpoints stopped working. Specific use case example here : https://advance-software.com/develop/#tutorial Our app invokes Web Asssembly C-API from a plugin (DLL on Windows) ...

view this post on Zulip Steve Williams (Oct 17 2025 at 08:51):

& yes I know this isn't the llvm board & all the rest of it but we all need this working to have a solid toolchain. External patches are workaround, ideally we want a commit so it just works out of the box.

view this post on Zulip Steve Williams (Oct 17 2025 at 13:25):

If anyone has a simple repro with full source, that can be provided to llvm team, that'd help. Ideally we pull something together to hopefully prevent future regressions. I'll work on this when I can but it won't be immediately.


Last updated: Dec 06 2025 at 06:05 UTC