Index: runtime/observatory/lib/src/service/object.dart |
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart |
index 78b67659cb2d5cb5c10f6de89740e658d846127e..8666f145919edbb67edaa883f78e5cf7366a9742 100644 |
--- a/runtime/observatory/lib/src/service/object.dart |
+++ b/runtime/observatory/lib/src/service/object.dart |
@@ -2325,6 +2325,8 @@ class Instance extends HeapObject { |
bool get isWeakProperty => kind == 'WeakProperty'; |
bool get isClosure => kind == 'Closure'; |
bool get isStackTrace => kind == 'StackTrace'; |
+ bool get isStackOverflowError => clazz.name == 'StackOverflowError'; |
rmacnak
2016/02/22 17:55:27
And library is dart:core.
Cutch
2016/02/22 18:38:17
Done.
|
+ bool get isOutOfMemoryError => clazz.name == 'OutOfMemoryError'; |
// TODO(turnidge): Is this properly backwards compatible when new |
// instance kinds are added? |