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

Add support for gdb #18

Merged
merged 5 commits into from
Oct 3, 2023
Merged

Add support for gdb #18

merged 5 commits into from
Oct 3, 2023

Conversation

rachel-bousfield
Copy link
Contributor

@rachel-bousfield rachel-bousfield commented Oct 2, 2023

Adds two new subcommands

  • cargo stylus replay for debugging onchain txes.
  • cargo stylus trace for tracing txes.

The cargo stylus replay tool allows users to step through contract calls using gdb, with full debugging symbols enabled.

@rachel-bousfield rachel-bousfield marked this pull request as ready for review October 2, 2023 20:34
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

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

LGTM

Base automatically changed from dylibs to main October 3, 2023 00:19
Copy link
Member

@joshuacolvin0 joshuacolvin0 left a comment

Choose a reason for hiding this comment

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

LGTM

@rachel-bousfield rachel-bousfield merged commit e48b067 into main Oct 3, 2023
8 checks passed
@rachel-bousfield rachel-bousfield deleted the cargo-replay branch October 3, 2023 00:42
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