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

Fix dump --locals #225

Merged
merged 1 commit into from
Feb 16, 2020
Merged

Fix dump --locals #225

merged 1 commit into from
Feb 16, 2020

Conversation

benfred
Copy link
Owner

@benfred benfred commented Feb 16, 2020

The dump command could panic when trying to display local variables under
certain situations (nested variables in some contexts could cause the
max_length checking to come up with a negative value causing string
slicing to fail). Fix and add a unittest that would have caught this.

The dump command could panic when trying to display local variables under
certain situations (nested variables in some contexts could cause the
max_length checking to come up with a negative value causing string
slicing to fail). Fix and add a unittest that would have caught this.
@benfred benfred merged commit 26a20fc into master Feb 16, 2020
@benfred benfred deleted the fix_dump_locals branch February 23, 2020 05:08
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.

1 participant