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

String truncation limit lifted to 10000 #4952

Closed
3 tasks done
weinand opened this issue Apr 5, 2016 · 2 comments
Closed
3 tasks done

String truncation limit lifted to 10000 #4952

weinand opened this issue Apr 5, 2016 · 2 comments

Comments

@weinand
Copy link
Contributor

weinand commented Apr 5, 2016

The node v8 debugger protocol truncates strings automatically to a (non configurable) 80 characters and appends a '... (length: 123)'.
Node debug tries to extend this rather small limit to 10000 by retrieving the string contents for long strings through 'evaluate'.

Verify that:

  • strings in the debugger are only truncated if they are longer than 10000.
  • the UI (hovers, variables view, repl) shows long strings correctly.
@weinand weinand added this to the April 2016 milestone Apr 5, 2016
@egamma egamma mentioned this issue Apr 5, 2016
68 tasks
@weinand weinand changed the title Strings are no longer truncated String truncation limit lifted to 10000 Apr 5, 2016
@v-pavanp
Copy link

v-pavanp commented Apr 8, 2016

I think it should be 1000.
image

@vsccarl
Copy link

vsccarl commented Apr 27, 2016

Strings that are roughly 4,000 or more are being proportionally truncated when using console.log(string) in Linux. A string that is 4069 characters is being output with only 4047 characters. A string that is 9922 characters outputs only 9504 characters.

@aeschli aeschli closed this as completed Apr 28, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
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

4 participants