Open
Conversation
1 task
04d416d to
64a4332
Compare
mooori
commented
Apr 15, 2026
| name = "miden-debug" | ||
| description = "An interactive debugger for Miden VM programs" | ||
| version = "0.5.0" | ||
| version = "0.6.1" |
Contributor
Author
There was a problem hiding this comment.
Temporary fix to make this branch work in the compiler repo.
This is needed as the version on next is behind the released version (0.6.1). Probably main still needs to be merged into next after the latest release.
Contributor
Author
|
This does not yet handle displaying printed lines. So far it only makes them available programmatically (example). Marking it as ready for review because I would like to:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
println-style output via a newTRACE_PRINT_LNtrace event, with decoding of[address, length]from the VM stack and reading the corresponding UTF-8 bytes from memory.ProcessorStateinstead of just the cycle, which lets the host capture trace events and read string-bytes from memory.ExecutionTrace, exposing it asprinted_lines()keyed by cycle.Companion PR in the compiler: 1077
Panics vs propagating errors
In the first pass I went with panicking early instead of propagating errors because:
printlnThough this PR might take panicking too far - let me know what you think.