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

Long strings are truncated to "..." with cppvsdbg #1824

Closed
sean-mcmanus opened this issue Apr 13, 2018 · 5 comments
Closed

Long strings are truncated to "..." with cppvsdbg #1824

sean-mcmanus opened this issue Apr 13, 2018 · 5 comments

Comments

@sean-mcmanus
Copy link
Contributor

sean-mcmanus commented Apr 13, 2018

UPDATE (old issue, moved to vscode): I can't copy values from the debugger's hover view (no right click) and instead need to locate/add the value in the Watch window. Is this a limitation with VS Code's UI or what? Typescript debugging seems to have the same limitation, so I'm guessing it's a VS Code issue.

I haven't seen many users complain about this so maybe it's not a common thing to want to do?

UPDATE (this is the new issue): Then I ran into a 2nd issue in which I couldn't even copy the entire string in the Watch window, because it got truncated with "...", so I ended up just debugging with VS 2017 :(

@pieandcakes
Copy link
Contributor

pieandcakes commented Apr 13, 2018

@sean-mcmanus I'm pretty sure we don't control copy/paste. The UI elements in VS Code are all provided by VS Code, we just return data to them. This is probably a request you will need to make on their side.

UPDATE: Then I ran into a 2nd issue in which I couldn't even copy the entire string in the Watch window, because it got truncated with "...", so I ended up just debugging with VS 2017 :(

Which debugger was this using? if you are using gdb, you can specify an additional parameter to return the entire string. Please see this.

@sean-mcmanus
Copy link
Contributor Author

Not gdb -- the cl.exe/Windows debugger cppvsdb. Is there a way to enable the full string to get copied with that?

Sure, I'll see if VS Code has a issue open for adding a right-click menu to the debugger tooltips.

@pieandcakes
Copy link
Contributor

@sean-mcmanus that string truncation is something we need to investigate. Please +1 that issue for now.

@sean-mcmanus sean-mcmanus changed the title Can't copy values from the debugger's hover view? Long strings are truncated to "..." with cppvsdbg Apr 13, 2018
@sean-mcmanus
Copy link
Contributor Author

sean-mcmanus commented Apr 13, 2018

I'm not sure what you mean by +1, but I just changed the title (i.e. morphed the bug into the 2nd issue).

@pieandcakes
Copy link
Contributor

Go to #1786 and click the + icon in the title bar and choose the thumbs up. This is now a duplicate of that and i'll close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants