Skip to content

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

Merged
ko1 merged 1 commit intomasterfrom
dap_string_dump_fix
Dec 16, 2022
Merged

DAP: show #dump when pp'ed string is too long#869
ko1 merged 1 commit intomasterfrom
dap_string_dump_fix

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant