Skip to content

debug: custom string of custom types #3749

Open
@mitar

Description

@mitar

Is your feature request related to a problem? Please describe.

I have a custom type which internally uses an array of numbers, you can think UUID identifier. I would like it to be displayed in variables pane in VSCode in standard UUID format instead of current hex format I see in string().

Describe the solution you'd like

I would expect that string() representation really calls String() or at least GoString() on the value.

Describe alternatives you've considered

It seems there was some work on this done in #158, but I have not seen it really working now, so I am opening a new issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugIssues related to the debugging functionality of the extension.upstream-toolsIssues that are caused by problems in the tools that the extension depends on.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions