Skip to content

Copying a long value from debug watch results in pasting partial value #5470

@da2r-20

Description

@da2r-20

Type: Debugger

Describe the bug

  • Version: 1.45.0
  • Commit: d69a79b73808559a91206d73d7717ff5f798f23c
  • Date: 2020-05-07T15:57:33.467Z
  • Electron: 7.2.4
  • Chrome: 78.0.3904.130
  • Node.js: 12.8.1
  • V8: 7.8.279.23-electron.0
  • OS: Darwin x64 18.7.0
  • C/C++ Extension Version: 0.27.1

While remote debugging I copied a long value from the watch area.
Pasting it resulted in a partial string with '...' at the end

To Reproduce

  1. Start a debugging session
  2. add an expression that has a long value to watch
    Screen Shot 2020-05-11 at 8 49 26
  3. Copy value
  4. paste it somewhere in a text area
  5. the pasted text appears is limited and ends with '...'
    Screen Shot 2020-05-11 at 8 50 33

Additional context
Initially I've opened a ticket here microsoft/vscode#97444
I was told to open it here and mention:

VSCode sents the clipboard context when copying. Their extension should set the capability supportsClipboardContext and respect the clipboard context by evaluation the full thing.

Metadata

Metadata

Assignees

Labels

debuggerfixedCheck the Milestone for the release in which the fix is or will be available.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions