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,

贡献者指南