Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 94c2992fc2965ac022244d902803ef59390d1ce9..551ebbaf0bae7ef0da5bf891d86031d6820a5b40 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -358,7 +358,7 @@ RUNTIME_FUNCTION(Runtime_DebugGetPropertyDetails) { |
return *isolate->factory()->NewJSArrayWithElements(details); |
} |
- LookupIterator it(obj, name, LookupIterator::HIDDEN); |
+ LookupIterator it(obj, name, LookupIterator::OWN); |
bool has_caught = false; |
Handle<Object> value = DebugGetProperty(&it, &has_caught); |
if (!it.IsFound()) return isolate->heap()->undefined_value(); |