Index: runtime/vm/debugger.cc |
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc |
index 13a91751bc024dd5b23d0a3fb51365635bea5465..aa665334079aa3f747f7c26378c76b30f2060b80 100644 |
--- a/runtime/vm/debugger.cc |
+++ b/runtime/vm/debugger.cc |
@@ -2364,7 +2364,8 @@ RawObject* Debugger::GetInstanceField(const Class& cls, |
RawObject* Debugger::GetStaticField(const Class& cls, |
const String& field_name) { |
- const Field& fld = Field::Handle(cls.LookupStaticField(field_name)); |
+ const Field& fld = |
+ Field::Handle(cls.LookupStaticFieldAllowPrivate(field_name)); |
if (!fld.IsNull()) { |
// Return the value in the field if it has been initialized already. |
const Instance& value = Instance::Handle(fld.StaticValue()); |