microsoft / microsoft/vscode-cpptools

When Debugging, long string variable could not be copied completely

Open
#5,607 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

debugger
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Win10_64, C++ tool 0.28.2.
When I am debugging, sometimes long string variable occurs, and I need to copy it.
As it is not a constant, I tried to copy it by right clicking the variable in debug window, but got some string cut--- for example, the original string like ABCDEFGHIGKLMNOPQRST may become ABCDEFGHI... with needless ellipsis.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on Win10_64 with the C++ tool version 0.28.2 by inspecting a long string variable in the debug window and using the right-click copy action. Trace that copy action from the debug window and verify that the copied value preserves the complete string instead of replacing its ending with an ellipsis.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.