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

Defect messages: show the runtime values in expression? #14

Open
Udiknedormin opened this issue Sep 3, 2021 · 0 comments
Open

Defect messages: show the runtime values in expression? #14

Udiknedormin opened this issue Sep 3, 2021 · 0 comments

Comments

@Udiknedormin
Copy link
Owner

When a contract is broken, only the original expression and its source are shown. It would be nice to also show the runtime values of the variables used in the expression, otherwise it's not really easy to debug e.g. loops.

Maybe some concept of "context" (e.g. loop counter) that should be passed alongside would be nice too. That way, contracts could show the circumstances of the failure more precisely.

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

No branches or pull requests

1 participant