chakra-core/ChakraCore

How to get property attributes in the debugger

Open

#3965 aperta il 14 ott 2017

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)JavaScript (1374 fork)batch import
AnsweredQuestionTaskhelp wanted

Metriche repository

Star
 (9000 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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,

Guida contributor