chakra-core/ChakraCore

How to get property attributes in the debugger

Open

#3.965 geöffnet am 14. Okt. 2017

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.374 Forks)batch import
AnsweredQuestionTaskhelp wanted

Repository-Metriken

Stars
 (9.000 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

When using JsDiagGetProperties() to inspect an object in the debugger, is there a way to get the property attributes (writable, configurable, enumerable) for each property? I thought that was what propertyAttributes was for, but that's not the case:

    ///     propertyAttributes is a bit mask of
    ///         NONE = 0x1,
    ///         HAVE_CHILDRENS = 0x2,
    ///         READ_ONLY_VALUE = 0x4,

Contributor Guide