Skip to content

Conversation

@MaartenS11
Copy link
Member

@MaartenS11 MaartenS11 commented Jul 9, 2025

This PR adds a basic disassembly view by invoking wasm-objdump -d on the command line.
Currently, the window highlights the current instruction but does not automatically update if the pc changes.
The window also highlights the current line by registering a listener on the current program state in the debugger.

Currently, x86 assembler syntax highlighting is used. This works, but is of course not perfect. We can improve this later by adding a custom highlighter for the disassembly, which shouldn't be too hard (docs).

Screenshot:
Screenshot 2025-07-12 at 14 32 32

Video in action:

Screen.Recording.2025-07-12.at.14.02.23.mov

@MaartenS11 MaartenS11 force-pushed the feat/disassembly-view branch from dffa305 to 743812f Compare July 13, 2025 13:53
@MaartenS11 MaartenS11 marked this pull request as ready for review July 13, 2025 13:57
@MaartenS11 MaartenS11 merged commit e5b8c01 into main Jul 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants