Skip to content
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

feat(forge): support mcopy buffer highlighting in debugger #7130

Merged

Conversation

emo-eth
Copy link
Contributor

@emo-eth emo-eth commented Feb 14, 2024

Motivation

MCOPY is a new opcode and the Forge debugger neither supports it nor highlighting multiple ranges in the same buffer view.

Solution

Support multiple range highlights, including overlap for MCOPY

Normal MCOPY:
Screenshot 2024-02-14 at 1 33 43 PM

MCOPY with overlap:
Screenshot 2024-02-14 at 1 32 55 PM

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not that familiar with these offsets, but I can kinda follow.

wdyt @DaniPopes

Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mattsse mattsse merged commit 3cdee82 into foundry-rs:master Feb 14, 2024
19 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.

3 participants