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

EthDebug Format Output (Source Maps Equivalent) #15884

Open
veniger opened this issue Feb 21, 2025 · 3 comments
Open

EthDebug Format Output (Source Maps Equivalent) #15884

veniger opened this issue Feb 21, 2025 · 3 comments
Assignees
Labels
ethdebug feature selected for development It's on our short-term development

Comments

@veniger
Copy link
Contributor

veniger commented Feb 21, 2025

Abstract

EthDebug Format for debugging EVM contracts has been partially defined and is currently compatible for emulating Source Map support level.

Implement EthDebug Format output for "Source Map Equivalence"

Motivation

Motivation behind this feature is moving to a more upgradeable debug format that will in the future expand to include additional data for debugging.

Specification

Backwards Compatibility

No backwards compatibility issues, this only adds new output. Eventually removal of Source Maps can be considered, but it is too early for that.

@veniger
Copy link
Contributor Author

veniger commented Feb 21, 2025

This issue is partially blocked by ethdebug/format#139, but the implementation can be started

@veniger
Copy link
Contributor Author

veniger commented Feb 21, 2025

Note: Support level equivalent to Source Maps means not including multiple source locations for instructions that have been affected by deduplication. This will be possible when the (partially) blocking issue is resolved.

@veniger
Copy link
Contributor Author

veniger commented Feb 21, 2025

This issue has been created to track high level progress on this feature implementation, sub-issues will be created for specific tasks if needed
/cc @aarlt @ekpyron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ethdebug feature selected for development It's on our short-term development
Projects
Development

No branches or pull requests

3 participants