|
|
@@ -145,6 +145,7 @@ void JsrtDebugUtils::AddPropertyType(Js::DynamicObject * object, Js::IDiagObject
|
|
|
bool addValue = false;
|
|
|
|
|
|
Js::Var varValue = objectDisplayRef->GetVarValue(FALSE);
|
|
|
+ Js::IDiagObjectAddress* varAddress = objectDisplayRef->GetDiagAddress();
|
|
|
|
|
|
if (varValue != nullptr)
|
|
|
{
|
|
|
@@ -366,6 +367,11 @@ void JsrtDebugUtils::AddPropertyType(Js::DynamicObject * object, Js::IDiagObject
|
|
|
propertyAttributes |= JsrtDebugPropertyAttribute::HAVE_CHILDRENS;
|
|
|
}
|
|
|
|
|
|
+ if (varAddress != nullptr && varAddress->IsInDeadZone())
|
|
|
+ {
|
|
|
+ propertyAttributes |= JsrtDebugPropertyAttribute::IN_TDZ;
|
|
|
+ }
|
|
|
+
|
|
|
JsrtDebugUtils::AddPropertyToObject(object, JsrtDebugPropertyId::propertyAttributes, (UINT)propertyAttributes, scriptContext);
|
|
|
}
|
|
|
|