Skip to content

debug: add bytes view as hex values #2169

Open
@polinasok

Description

@polinasok

Branching out of the follow-up discussion on #1459 (comment):

Option 1:

b: []uint8 len: 5, cap: 5, [72,101,108,108,111]
    string(): "Hello"
    %X: [68,65,6C,6C,6F] 
    [0]: 104
    [1]: 101 
    [2]: 108
    [3]: 108
    [4]: 111

Option 2:

b: []uint8 len: 5, cap: 5, [72,101,108,108,111]
    string(): "Hello"
    [0]: 104 = 0x68 = h
    [1]: 101 = 0x65 = e 
    [2]: 108 = 0x6c = l
    [3]: 108 = 0x6c = l
    [4]: 111 = 0x6f = o

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugIssues related to the debugging functionality of the extension.FeatureRequestdebug/variablesissues related to variables inspection/presentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions