Skip to content

Debugger "Copy Value", Watch window and Debug Console should show untruncated values in SDK DAPs #4730

@brizaldi

Description

@brizaldi

Describe the bug
The debug variable, specifically a String, is not displaying all of its values. It only shows a portion of it and is then truncated with the '...' symbol.

To Reproduce
Steps to reproduce the behavior:

  1. On your code, create a String variable with a very long size (>1000 characters should be enough).
  2. Create a breakpoint below that variable.
  3. Run the program with debugging.
  4. Go to 'Run and Debug' on the sidebar.
  5. Check that String variable value.

Expected behavior
When inspecting the debug variable, it should be able to display the entire content of its value.

Screenshots
image

Please complete the following information:

  • Operating System and version: Windows 11 22H2 Build 22621.2215
  • VS Code version: 1.81.1
  • Dart extension version: 3.72.2
  • Dart/Flutter SDK version: Dart 3.1.0 / Flutter 3.13.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    in debuggingRelates to the debug adapter or process of running debug sessionsis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions