Stream: git-wasmtime

Topic: wasmtime / PR #15261 Keep breakpoints in the module they ...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 16:01):

sansmoraxz opened PR #15261 from sansmoraxz:witgraph-patches to bytecodealliance:main:

In a component, all the core modules share one frame table. When setting or removing a breakpoint, Wasmtime looked up breakpoint sites by PC alone, and PCs are relative to each module. So if two modules had code at the same PC:

#15182 and #15194 fixed this for single-stepping by skipping other modules' sites.

This PR fixes it in the frame table itself:

The existing two-module component test was padded so the modules' PCs never overlapped, which hid the bug. It now has both modules use the same PCs, and there are new tests for setting, removing and slipping breakpoints in one module without affecting the other.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 16:01):

sansmoraxz removed the review request for wasmtime-compiler-reviewers from PR #15261.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 16:01):

sansmoraxz requested cfallin for a review on PR #15261.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 16:01):

sansmoraxz requested wasmtime-compiler-reviewers for a review on PR #15261.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 16:01):

sansmoraxz requested wasmtime-core-reviewers for a review on PR #15261.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 18:44):

github-actions[bot] added the label wasmtime:api on PR #15261.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 19:24):

sansmoraxz updated PR #15261.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 19:43):

sansmoraxz commented on PR #15261:

oops wrong branch

view this post on Zulip Wasmtime GitHub notifications bot (Nov 13 2026 at 19:43):

:cross_mark: sansmoraxz closed without merge PR #15261.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2026 at 23:06):

cfallin commented on PR #15261:

@sansmoraxz did you mean to close the PR entirely (rather than undo your additional push)? I agree that there is a real bug here when inlining occurs across modules and I'm happy to review your fix.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2026 at 23:45):

cfallin commented on PR #15261:

Ah, nevermind, I see you re-opened this in #15270; LGTM and merging there.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 17 2026 at 17:38):

sansmoraxz commented on PR #15261:

My bad, forgot to cross link the PR.


Last updated: Nov 19 2026 at 20:05 UTC