Skip to content

Debugging extension #113

Description

@axic

This was discussed in the past (first year), but we haven't actually recorded any proposal.

Goal: store debugging information as a section(s) in EOF.

This information is not acceptable on-chain, and so must be stripped prior to deployment, but EOF could allow carrying this information from the compiler to frameworks/tooling, and getting removed prior to the deployment process.

Since we have individual sections for functions, we should first of all store a "names section", which defines the function names and inputs and output for each function. The names section in WebAssembly is a good inspiration. It should be also possible to further introduce the storage of variable level information, based on the work done by the ethdebug workgroup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions