chakra-core/ChakraCore

How to get property attributes in the debugger

Open

#3,965 建立於 2017年10月14日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)JavaScript (1,374 fork)batch import
AnsweredQuestionTaskhelp wanted

倉庫指標

Star
 (9,000 star)
PR 合併指標
 (30 天內沒有已合併 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,

貢獻者指南