chakra-core/ChakraCore

How to get property attributes in the debugger

Open

#3,965 opened on 2017年10月14日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)JavaScript (1,374 forks)batch import
AnsweredQuestionTaskhelp wanted

Repository metrics

Stars
 (9,000 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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,

コントリビューターガイド