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

Prevent truncation of values in the Debug Watch #1052

Closed
cmrschwarz opened this issue Dec 28, 2023 · 0 comments
Closed

Prevent truncation of values in the Debug Watch #1052

cmrschwarz opened this issue Dec 28, 2023 · 0 comments
Labels
enhancement Enchancement request

Comments

@cmrschwarz
Copy link

When copying a somewhat longer value (like 20 bytes) from the Debug Watch Window, the value is truncated with [...].

This issue was already reported downstream for rust here.

Microsoft explains the api to fix this here (comment).

Cpptools has resolved the same issue here.

This frequently occurs in rust when working with string data that is encoded in a byte slice ([u8]),
which is (correctly) displayed as a list of integers, not a string. I often find myself wanting to copy out this data e.g. to put it into some decoding tool. Even a 20 character 'string' already gets truncated, killing this usecase.

Thank you for all the work you put into this great extension, especially the rust / cargo support is miles ahead of every other debug adapter I tried.

@cmrschwarz cmrschwarz added the enhancement Enchancement request label Dec 28, 2023
@vadimcn vadimcn closed this as completed in 0136179 Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enchancement request
Projects
None yet
Development

No branches or pull requests

1 participant