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

Document approach required to view long strings #2072

Closed
FairlySadPanda opened this issue Feb 17, 2022 · 4 comments
Closed

Document approach required to view long strings #2072

FairlySadPanda opened this issue Feb 17, 2022 · 4 comments

Comments

@FairlySadPanda
Copy link

Is your feature request related to a problem? Please describe.
Several tickets exist that query how to display lengthy strings inside the debugger frame.

These tickets are all locked, more recently with a comment similar to "dlv-dap doesn't support this yet".

Describe the solution you'd like
Document the approach a user is supposed to take to view truncated long strings.

Describe alternatives you've considered
Add this feature to dlv-dap. This seems like a lot of work for something that can be covered in the short term with documentation.

Additional context
Yes, there is probably an article or note somewhere that explains this, but if it doesn't appear in the top ten when searching Google it essentially does not exist to the average programmer.

@gopherbot gopherbot added this to the Untriaged milestone Feb 17, 2022
@hyangah
Copy link
Contributor

hyangah commented Feb 17, 2022

@FairlySadPanda
Copy link
Author

Fair enough - I'll make a submission to add a table of contents to the top of the file to make navigation easier.

@hyangah
Copy link
Contributor

hyangah commented Feb 17, 2022

Thanks for the future PR.
FYI GitHub UI has this ToC feature, but I agree that it's hard to find. :-(

Screen Shot 2022-02-17 at 12 29 32 PM

@FairlySadPanda
Copy link
Author

FairlySadPanda commented Feb 17, 2022

Agreed - you might want to go back into one of the old issues and flag that there's documentation to cover this circumstance atm. E.g. the following is the top Google response to "vscode go delve trimmed string": #645

@golang golang locked and limited conversation to collaborators Feb 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants