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

DAP: show #dump when pp'ed string is too long #869

Merged
merged 1 commit into from
Dec 16, 2022
Merged

Conversation

ko1
Copy link
Collaborator

@ko1 ko1 commented Dec 16, 2022

For String objects, show #dump when the String object is long
enough. However, the length of a String is not correct condition
because elimination with ... is used for long pped result.

This patch shows #dump field if pp'ed_str.end_with?('...')
is true.

For String objects, show `#dump` when the String object is long
enough. However, the length of a String is not correct condition
because elimination with `...` is used for long `pp`ed result.

This patch shows `#dump` field if `pp'ed_str.end_with?('...')`
is true.
@ko1
Copy link
Collaborator Author

ko1 commented Dec 16, 2022

image

@ko1 ko1 merged commit f42e9c6 into master Dec 16, 2022
@ko1 ko1 deleted the dap_string_dump_fix branch December 16, 2022 08:39
@egenerat egenerat mentioned this pull request Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant