cfallin opened PR #12637 from cfallin:guest-debugging-all-instances-modules to bytecodealliance:main:
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.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
cfallin requested alexcrichton for a review on PR #12637.
cfallin requested wasmtime-core-reviewers for a review on PR #12637.
cfallin updated PR #12637.
github-actions[bot] added the label wasmtime:api on PR #12637.
alexcrichton submitted PR review.
alexcrichton added PR #12637 Debugging: add debug_all_modules() / debug_all_instances() accessors on Store. to the merge queue
cfallin edited PR #12637:
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.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
github-merge-queue[bot] removed PR #12637 Debugging: add debug_all_modules() / debug_all_instances() accessors on Store. from the merge queue
cfallin updated PR #12637.
cfallin has enabled auto merge for PR #12637.
cfallin added PR #12637 Debugging: add debug_all_modules() / debug_all_instances() accessors on Store. to the merge queue
cfallin merged PR #12637.
cfallin removed PR #12637 Debugging: add debug_all_modules() / debug_all_instances() accessors on Store. from the merge queue
Last updated: Feb 24 2026 at 04:36 UTC