Stream: git-wasmtime

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


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

sansmoraxz opened PR #15270 from sansmoraxz:dbg-scope-mod 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 19:47):

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

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

sansmoraxz requested cfallin for a review on PR #15270.

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

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

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

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

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

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

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

:thumbs_up: cfallin submitted PR review:

Thanks very much for this fix!

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

cfallin added PR #15270 Keep breakpoints in the module they were set in to the merge queue.

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

:check: cfallin merged PR #15270.

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

cfallin removed PR #15270 Keep breakpoints in the module they were set in from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC