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

Copy Value in C debugger copies value incorrectly #12536

Open
Rasie1 opened this issue Aug 2, 2024 · 0 comments
Open

Copy Value in C debugger copies value incorrectly #12536

Rasie1 opened this issue Aug 2, 2024 · 0 comments
Labels
debugger help wanted Can be fixed in the public (open source) repo.

Comments

@Rasie1
Copy link

Rasie1 commented Aug 2, 2024

Environment

Version: 1.91.1 (user setup)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:06:49.809Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.19045

Bug Summary and Steps to Reproduce

Bug Summary: it's impossible to copy the full value of a variable in debugger variables window. Current "Copy value" functionality displays only 1-3 fields and clamps all the value, which defeats all point of this feature.

This is required for comparing values between different debugger runs, and copying each field by hand is not a sustainable approach

Repro:

  1. Create a struct in code with 5 fields, some of them nested
  2. Execute the program and break at a line where a variable of this struct is inspectable in the debugger variables
  3. Right click the variable in the debugger variables and select Copy Value
  4. Paste the value and inspect the result

Expected outcome: full value
Actual outcome: clamped value like {myField1={myField2=mystring myId=empty myData=MapCount=??? ArrayCount=??? } ...}

The result should be the full value

Debugger Configurations

inapplicable

Debugger Logs

inapplicable

Other Extensions

No response

Additional Information

No response

@sean-mcmanus sean-mcmanus added debugger help wanted Can be fixed in the public (open source) repo. labels Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debugger help wanted Can be fixed in the public (open source) repo.
Projects
None yet
Development

No branches or pull requests

2 participants