Skip to content

debug: 'value' of Variables response for a large struct is incomprehensible #1435

@hyangah

Description

@hyangah

dlv-dap: built at master (7d343b6) on Apr 18, 2021.
vscode-go: 0.24.1

How to reproduce:

Evaluate a variable of a complex struct type.
Screen Shot 2021-04-18 at 11 08 07 AM

dlv cli output is also long, but it is presented as a multi-line string, so that is not too bad.
Screen Shot 2021-04-18 at 11 11 56 AM

If the context is 'repl', maybe present it as a multi-line string.
If the context is 'variables', maybe we don't need such a long string in some clients (e.g. vscode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugIssues related to the debugging functionality of the extension.FrozenDueToAge

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions