-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to show operand stack's types in disassembly #1381
Comments
The main tricky part here is that |
Oh I was imagining it would have a |
Now that's a neat idea yeah! Could even do something like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When debugging some fiddly wasm bits I often annotate the WAT disassembly with the types on the stack in between each instruction:
Would be nice if we added a flag to
wasm-tools print
to do this automatically.I guess
wasmprinter
can handle invalid Wasm at the moment, so we would have to maybe make this best effort or require valid input for when this is enabled or something.The text was updated successfully, but these errors were encountered: