Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Support ES6 data structure visualization #31

Closed
roblourens opened this issue Jun 8, 2016 · 1 comment
Closed

Support ES6 data structure visualization #31

roblourens opened this issue Jun 8, 2016 · 1 comment

Comments

@roblourens
Copy link
Member

P1, 3 days
Currently we can't show the items in a Map or Set.

@roblourens
Copy link
Member Author

Need to look at the internalProperties of the object, and merge it into its collected properties. Looks like

{
    "id": 20,
    "result": {
        "result": [
            {
                "name": "__proto__",
                "value": {
                    "type": "object",
                    "className": "Map",
                    "description": "Map",
                    "objectId": "{\"injectedScriptId\":1,\"id\":62}"
                },
                "writable": true,
                "configurable": true,
                "enumerable": false,
                "isOwn": true
            }
        ],
        "internalProperties": [
            {
                "name": "[[Entries]]",
                "value": {
                    "type": "object",
                    "subtype": "array",
                    "className": "Array",
                    "description": "Array[1]",
                    "objectId": "{\"injectedScriptId\":1,\"id\":63}"
                }
            }
        ]
    }
}

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant