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

Support debugging in cargo-concordium. #147

Merged
merged 4 commits into from
Dec 21, 2023
Merged

Support debugging in cargo-concordium. #147

merged 4 commits into from
Dec 21, 2023

Conversation

abizjak
Copy link
Contributor

@abizjak abizjak commented Dec 14, 2023

Purpose

Support the new debugging support in both concordium-std and the testing library.

The cargo concordium run command will now output any collected debug information if so desired.

cargo concordium test additionally supports --allow-debug flag, and if this is set it will enable debugging when building contracts, and also output debug output after running the tests.

Depends on

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

Copy link
Contributor

@limemloh limemloh left a comment

Choose a reason for hiding this comment

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

Looks good.
Don't forget the changelog

@abizjak abizjak merged commit bd74774 into main Dec 21, 2023
4 checks passed
@abizjak abizjak deleted the enable-debugging branch December 21, 2023 11:58
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.

2 participants