Skip to content

Comments

Debugging: add debug_all_modules() / debug_all_instances() accessors on Store.#12637

Queued
cfallin wants to merge 1 commit intobytecodealliance:mainfrom
cfallin:guest-debugging-all-instances-modules
Queued

Debugging: add debug_all_modules() / debug_all_instances() accessors on Store.#12637
cfallin wants to merge 1 commit intobytecodealliance:mainfrom
cfallin:guest-debugging-all-instances-modules

Conversation

@cfallin
Copy link
Member

@cfallin cfallin commented Feb 23, 2026

When writing a debugger top-half using Wasmtime's debug APIs, it is essential to be able to list all modules, and all instances, within a Store. This PR adds those APIs.

The way in which the debug APIs are placed on
Store/StoreContextMut/Caller/etc is also refactored to be more uniform.

@cfallin cfallin requested a review from a team as a code owner February 23, 2026 07:22
@cfallin cfallin requested review from alexcrichton and removed request for a team February 23, 2026 07:22
…ors on `Store`.

When writing a debugger top-half using Wasmtime's debug APIs, it is
essential to be able to list all moules, and all instances, within a
`Store`. This PR adds those APIs.

The way in which the debug APIs are placed on
Store/StoreContextMut/Caller/etc is also refactored to be more uniform.
@cfallin cfallin force-pushed the guest-debugging-all-instances-modules branch from 6f97921 to 5d8e8fd Compare February 23, 2026 07:31
@github-actions github-actions bot added the wasmtime:api Related to the API of the `wasmtime` crate itself label Feb 23, 2026
@alexcrichton alexcrichton added this pull request to the merge queue Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasmtime:api Related to the API of the `wasmtime` crate itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants