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

Hide certain cell contents from kontrol show and kontrol view-kcfg by default #706

Open
JuanCoRo opened this issue Jul 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@JuanCoRo
Copy link
Member

Some cell contents can be too huge to allow for a good debugging experience if the contracts under tests are big. In particular, the <jumpDests>, <program>, and <code> cells can be very annoying to ignore.

These cells are rarely deeply inspected, so we could hide their contents by default when printing a node and only show them if a flag like --show-code, --show-program, etc. is passed.

Example: It takes me a solid 25s to scroll through this <jumpDests> cell from kontrol show:
image

@JuanCoRo JuanCoRo added the enhancement New feature or request label Jul 17, 2024
@palinatolmach
Copy link
Collaborator

Partially addressed by #720, which replaces <code> and <program> with contract names, if Kontrol is able to look it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants