Index: pkg/dartino_compiler/lib/debug_state.dart |
diff --git a/pkg/dartino_compiler/lib/debug_state.dart b/pkg/dartino_compiler/lib/debug_state.dart |
index 7ddb2e877994c4cfce76118db95e2057b75e6ac7..96846c8714ede4212524123fb28674dd4bfe4627 100644 |
--- a/pkg/dartino_compiler/lib/debug_state.dart |
+++ b/pkg/dartino_compiler/lib/debug_state.dart |
@@ -12,6 +12,8 @@ import 'src/debug_info.dart'; |
import 'src/class_debug_info.dart'; |
import 'vm_commands.dart' show |
+ Array, |
+ ArrayStructure, |
DartValue, |
InstanceStructure; |
@@ -36,6 +38,17 @@ class RemoteInstance extends RemoteObject { |
RemoteInstance(this.instance, this.fields, {String name}) : super(name); |
} |
+/// A representation of a remote instance. |
+class RemoteArray extends RemoteObject { |
Søren Gjesse
2016/06/15 11:25:09
We probably need a mechanism here for handling lar
sigurdm
2016/06/15 14:50:49
I made an issue and a TODO.
|
+ /// An [Array] describing the remote instance. |
+ final ArrayStructure array; |
+ |
+ /// The values of the array as [DartValue]s of the remote instance. |
+ final List<DartValue> values; |
+ |
+ RemoteArray(this.array, this.values, {String name}) : super(name); |
+} |
+ |
/// A representation of a remote primitive value (i.e. used for non-instances). |
class RemoteValue extends RemoteObject { |
/// A [DartValue] describing the remote object. |